Answer Questions
allen herring Regional settings and date conversion
This can't be right but apparently is: I'm writing an application that needs to convert a string to a date. Sounds simple, right My system's Regional settings are set to English Canada. The short date format is dd/mm/yyyy. VB.Net is returning dates in the format mm/dd/yyyy (US English). This code fails every time: Personal.EffectiveDate = GridRow2.Cells("New Value").Value.ToString.Trim Error: Cast from string "8/23/2005" ...Show All
SQLScott #develop
I was justing loitering in the Community page of windowsforms.net and hit the following link: <A HREF="http://www.icsharpcode.net/OpenSource/SD/">http://www.icsharpcode.net/OpenSource/SD/</A> This is the web page for an open source IDE for C# and VB.NET called #develop. ...Show All
Adrian w How can I call a function in parent form from within user control?
Hi all, Can someone please fill me in on this. I have created a composite control for my windows application and on this control I have a link label. In the parent form, where the composite control resides, I have a function I would like& ...Show All
Ameya Limaye Binding Sourceobject seems fix to SQLExpress with VBExpress
Hello, I am using VB.NET 2005 Express Edition and I am stuck in connecting Binding Source object to SQL Server 2000. I looks like it is fixed to SQLServer Express. Is there a way to go around this Is this the limitation of VB Express Edition Any help would be appreciated. Regards, Cesar Yes, C# Express and VB Express are limited to local database connections (SQL Express and Access). At least if you want to us ...Show All
desert rose genie raise Key_Down and Key_Press events for arrow keys
Hi, How to raise Key_Down and Key_Press events for keyboard arrow keys. Key_Up event do get raised for arrow keys, but not the down and press events. Thanks, Hello, Key_Press event is used to identify the charactars pressed, and it is not& ...Show All
jaycee Form/Control Sizing
Hello, I'm attempting to create a windows forms application using c#.net. the app has one MDIParent form and several child forms. I am programmatically setting the size of the child forms in the constructor, but before the child form is rendered, the size is being changed. I have no idea where in the code this is happening, or why. Can anybody help me Thanks, rc If you want to resize your form at runtime you ...Show All
yoder30 rectangles draw incorrectly
When I draw a 10x10 rectangle with DrawRectangle, it is drawn as 11x11. If I draw it with FillRectangle, it is drawn as a 10x10. Is there an explanation for why the same rectangle draws with different widths Ben Rectangle r = new Recta ...Show All
Sid Singhvi HELP!!!!unable to save data using window form!!!!URGENT!!!
Hi...can someone help me to figure out what's going on to my form Currently, I'm doing an assignment using the window form and I'm using Visual studio 2005 and SQL express edition. I'm trying to save data from the window form but it seems like nothing change to my database. After i run the program, enter the data to form, close the form, then preview the dataset's data and database table data.BOTH remain same, the data unable to save to the d ...Show All
Anuradha Rawal How to change the keys in the config file
Hi, We are using the ClickOnce technology in Visual Studio 2005 to deploy the C# Windows applications. Here we are getting the problem in the clint site when we need to change the configuration settings. The files in the server deploy with the extention .deploy, when we open the app.exe.cong.deploy file with the notepad and change the keys and save, it is loosing some of the keys. When we try to connect to server and install the applicatio ...Show All
MarnieV Reply to the locked message
add the label to control collection in forms Me.Controls.Add(simpleMsg ) -- Problem creating and display new instance of label class Posted: 17 Jul 2003 08:54 AM I have this code to display a simple messege at the left top of the window. Dim simpleMsg&nb ...Show All
Ayd?n Kaya ListBox is really slow on adding about 64000 items
so, this is a problem - adding about 64000 into ListBox takes about 2-3 seconds.. my code: Let's us know how it turns out.. yes, i have tried this, but it is make my program even more slowly :) David M. Kean - MSFT wrote: You might want to consider a different design that doesn't require a user to select from 64000 items. It's not usable. this list is some kind of dictionary in ...Show All
Prem_sk How to access DataRow.rowID?
Hi, How can I access DataRow.rowID I see it in the variable window during debugging, but I'm not allowed to access it in my program. Is there any possibility to know the row ID of a given row in its table, without enumerationg through all ...Show All
Hatake Kakashi Text box text format checking
I have some text box which allow the user to key in integer and decimal. How do i do a checking on the text enter in the text box that it is integer ot decimal E.g. Throw a error msg to the user when the user enter let ...Show All
Don SW Application is improperly formatted
Hi, Finally i found the solution to run my clickonce application. Everytime i started my clickonce application on another PC the framework and additional prerequisites installed ok, but when the clickonce application should be installed (locally) i got the error message 'Application is improperly formatted' with in the detailled message 'Deployment manifest contains an invalid application dependency'. It seems that whenever the setup.exe has run ...Show All
Rashmiaa Check box in dataGridBoolColumn
Hi, I have problems with dataGridBoolColumn. I made dataGridBoolColumn to check true/false state. When i run this code, the data grid with 2 state check box grid is appeared. But when I select some data and mapping data table to grid, check box turn to&n ...Show All
