Romme's Q&A profile
Windows Forms Textbox
Hi, I'm new to .NET framework. In the past I've used Borland and trying to learn visual c++.NET is a challenge. I'm not familar with MFC, so I'm diving straight into .NET. I have not found any good beginner/intermediate books. Anyway, I'm trying to convert an entry into a Textbox (Textbox1->Text) to an int and want a simple way to check and see ...Show All
Visual Studio Express Editions Wish to use text box to only allow numeric Data entry
I am creating a windows form with VB expressions How to I allow only text to be input into text box How do I allow only numeric data entered into textbox How do I place a "zero" in the textbox if there is no value for the user to input How do I allow for Currency How do I place "," seperators and "$" i.e $ 1,123,123.00 eg. Code: 'this is to create liabilites calculator Dim mort. as double =textbox1.text Dim Credit as double =textbox2.text Dim Total as Double =Textbox3.text Total = Mort + Credit If i debug and do not place values in the box I get error. So I need to Have & ...Show All
Visual Studio Express Editions When checking for Visual Studio 2005 updates, but all I ever get auto updated is Windows XP
I am always checking for Visual Studio 2005 updates, from within the Visual Studio application. But all I ever get auto updated is Windows XP, of the last 40 or 50 updates, all I have gotten are windows XP updates. It seems that I would have gotten at least one update for standard edition C# since I installed my original copy You will find now that most updates will be delivered through the microsoft update site... This will include all microsoft products. At the moment you will notice that SQL Server 2005 sp1 is on the update site, and most people using WSUS are starting to have it downloaded ...Show All
Smart Device Development Embedded VC++
where can i get the tutorials for embedded vc++ ........ Here is the point where you can start with: http://msdn.microsoft.com/mobility/gettingstarted/evc/default.aspx If you have any special query, please let us know. ...Show All
Visual Studio Tools for Office Visual Studio Tools fo office
I am trying to do a Visual Studio Word project to do a smarttag but i get following error The type or namespace name 'Tools' does not exist in the namespace 'Microsoft.Office' (are you missing an assembly reference ) when i am using "using Micorosoft.Office.Tools.Word" I am running Visual Studio 2005 but I can not see any office projekt or Word tempate. do i have to download som packets (Visual Studio Tools for office) but where and what I have been searching for them but not success. do i have to have office 2007 Hi, Yes, you must have either Microsoft Office 2003 Professional or a standalone version of either Microsoft ...Show All
Visual C# How can you make your software expire after certain Days ??
Hello All, I have an application which I want to expire after the trial period and only works after you eneter the key. Any suggestions, piece of code which I can use to secure my application. Thanks, Harsimrat Well, you need to store the date the software was installed, that date needs to stay if someone does an uninstall, and then you may want to write some code that detects if users have been playing with the system date. As for entering a key, you have all sorts of options there. Do you want a key tied to a machine Do you want to generate a response key ...Show All
Windows Forms Stuck on data relations, but I think I'm close
Well, I'm trying everything I can think of, but I just can't get this working. I have two tables... Category(parent), Items(child). All I want to do is show the Categories in listbox1, and the items with the corresponding CategoryID (the selected CategoryID) in listbox2. I've come pretty close (thanks to jmcilhinney, and MSDN) but I just can't seem& ...Show All
Windows Forms Data Sources window is always blank.
I had SQL server 2000 on my PC that has a windows 2000 OS. I installed visual studio 2005. Now when i want to add a data source to my project, I go to Data-> Add new data source. However when i have a form opened in the IDE, the data sources window is always blank. If i open the dataset designer i see all the data sources for my project in the data sources window. Does anyone know why is the data sources window always blank, other than when i have the dataset designer opened. It can be related to firewall settings as described in my blog at http://blogs.msdn.com/sql_protocols/archive/2005/09 ...Show All
Visual Studio Nested Concept and Nested Diagram
Hello all, I read through the DSL example posted here , which covers features of the December's release. In that example, snapshot of the Toolbox shows: Nested Concept, Nested Shape and Nested Diagram. It looks like these capabilities were removed from the current release. My question is whether these features were removed for good and is there an adequate alternative in the current release Especially I am interested in creating a concept, shape of which should be placed only within the boundaries of the parent concept (class). Best regards, chemas-microsoft-com ffice ffice" /> >Nel > Thanks, I guess I wi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D map
kinda hard to explain but what I want to do is place meshes about 200 of them I guess it would be in world space then each time a player moves the camera with point to there current location, what is the best way to get the cords for the mesh not all 200 need to be shown on the screen at one time just maybe 30 -40 tops, im just kinda at a loss on how to figure this out any help would be great thanks Can you rephrase your question I can't tell if you want to know how to render a 3D map or render a 2D "isometric" style tile-based map. If it con ...Show All
Windows Forms Webbrowser Control Memory Management Question
I have a C# application that uses the webbrowser control. I've noticed that as I load more web pages through the webbrowser control my program continues to consume more and more memory. (It starts at 9MB and quickly climbs to 40MB by simply loading web pages.) My question is really two part: Q1: What is the reason for this compounding memory comsumption Web cache, memory leak, ... Q2: Is there some sort of garbage collection I should be manually performing such as routinely clearing some sort of web cache in RAM JBrown9264 wrote: But I am still left with the problem of memory consumption. Note: I am not usin ...Show All
Visual Studio 2008 (Pre-release) Delete entire object graph
Hi, I've hit a snag on my smaple mailer. I have agents and messages. A message has many reviewers who are agents. I've mapped this in the DB (primitive i know - it's a test): CREATE TABLE [dbo].[MessageAgentReview]( [MessageAgentReviewID] [int] NOT NULL, [MessageID] [int] NULL, [AgentID] [int] NULL, CONSTRAINT [PK_MessageAgentReview] PRIMARY KEY CLUSTERED ([MessageAgentReviewID] ASC) WITH (IGNORE_DUP_KEY = OFF) ) GO ALTER TABLE [dbo].[MessageAgentReview] WITH CHECK ADD CONSTRAINT [FK_MessageAgentReview_Agent] FOREIGN KEY([AgentID]) REFERENCES [dbo].[Agent] ([AgentID]) GO ALTER TABLE [dbo].[MessageAgentReview] WITH CHECK ADD CONSTRAIN ...Show All
SQL Server Database Mirroring is not working at all in RTM
I tried all the scenarios . 1- three CLEAN machines in the same domain each has a default instance 2- 1 machine having principal and witness and another one having mirror 3- 1 machine has all the service for all of them is running under 1 account which is the domain admin. but still i always getting the same error 1418 "the nework address '...' can not be reached or does not exist ..." when i try to add the mirror server as a partner for the principal server from the principal server . i tried using TSQL and management studio this error is driving me crazy , i search on google even for it and in forums and BOL and everwhere . i fo ...Show All
Visual Studio 2008 (Pre-release) WCF Indigo and Method Overloading
Hi there I have been playing with WCF for around 2 weeks now, and have noticed that I am not allowed to build services that have methods that that only differ by parameters and return types. I am not sure why this functionality is not allowed when using the svcutil tool. i.e. is it a SO issue or is it a bug in WCF or is it a limitation of WSDL Thanks in advance Marco Short Answer: It is a limitation of WSDL + XSD in some sense. We are looking into this to see if we can solve it (for RC0). You can work around this by customizing the name of the operation using OperationContractAtt ...Show All
Visual C++ DLL fails to load been compiled with VC2005 despite of correct set of manifests. Error 126.
Hello. I'm compiling quite simple DLL with VC 2005. And it fails to load on my system. Before I have compiled this DLL using VC 2003 - everything was ok and I have not changed any line of code since then. At first I was getting message that MSVCR80.DLL could not be found, but after maybe 50 faults message boxes do not appear any more and it fails to load silently. Every time I'm getting error 126 ("Module not found"). I've tried different variants of manifest files (generated by compiler, listing below) - both external and internal (with resource ids 1 and 2). Result was always the same. Dependency Walker is able to load my DLL ok and correc ...Show All
