Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms > february 2004 > threads for monday february 9

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

Anchor/dock property
Posted by james_morris1232000 NO[at]SPAM yahoo.com.au at 2/9/2004 9:45:22 PM
I have a forms application which has many controls such as buttons,labels,listviews,text boxes etc. If you set the window size to maximum size so that it would expand to the size of the screen the controls tend to move without any proposion. So then I used anchor and the dock property. I could g...more >>


Serializing/DeSerializing System.Windows.Forms.Cusrsor object looses the hotspot
Posted by Sankar Nemani at 2/9/2004 7:16:42 PM
Hi All, We are trying to Serialize a System.Windows.Forms.Cursor object and Deserialize it. Before serializing the cursor behaves correctly but when we serialize and use a deserialized object, the hotspot (the cursor pointer) is not where it is expected to be. We tried both binary and soap f...more >>

Applicaiton Timeout
Posted by Stanley at 2/9/2004 3:47:35 PM
I am looking for a way to see if the user has done anything within my app for about 30 ins. I figure I could probably add a hander for the mouse clicks and for the keystrokes but I am not sure this is the best idea. Is there a better way? Also how would I capture all keyboard and mouse clicks? ...more >>

How do I force an autotab to the next textbox
Posted by Top Gun at 2/9/2004 3:14:47 PM
I have textboxes with unambigous field-lengts, such as single character. When a valid value is entered into one of these, I would like to autotab to the next textbox. What is the best way to do this? ...more >>

How do I set focus on a specified textbox at load?
Posted by Top Gun at 2/9/2004 3:07:24 PM
I am attempting to set the focus on a calculated textbox during the forms Load event, however it seems to want to go to the default location instead. Is there some way I can do this in a way that gurantees it will go where I want it to go when the form is made visible? ...more >>

Gui-framework
Posted by John Smith at 2/9/2004 2:22:13 PM
Which gui Frameworks do exist for .net c#? Myself just found SharpLibrary Version 1.37 http://24.199.8.122/ Maybe people who know other frameworks could reply ? thx Dulo...more >>

How can my application determine when the system is shutting down?
Posted by QuantumKid at 2/9/2004 2:13:02 PM
I am currently developing a taskbar-icon based program which normally has no open windows. I understand that there is a Microsoft.Win32 event that is supposed to notify the application, but this event fails to fire when the computer is shut down. I have Windows XP. By not knowing when the ...more >>

custom design UI
Posted by Benoit Martin at 2/9/2004 1:27:54 PM
I am currently working on an application where we decided to have a customized look and feel (as opposed to the standard Windows UI). I took an approach using graphics to define windows borders and buttons, etc... but I'm not satisfied at all with the performance. Windows take a long time to dis...more >>



Single Instance of App Per User
Posted by Stanley at 2/9/2004 1:13:52 PM
I have been asked to make sure that a WinForm app can only have one instance and this would not be an issue if that was the only part. I could simply loop through the processes and see if the process name is already in the collection. However, the second part of the request was to make sure that ...more >>

SQL queries on Dataset in memory
Posted by TheBean at 2/9/2004 12:26:07 PM
Is there an easy way to run SQL queries on a dataset that's in memory. I've loaded up data from an XML text file, and would like to run some update queries on the tables that are created in the dataset, and then write them back out as XML Anyone know if this is possible without writing the data b...more >>

Toolbar dropdown button problem
Posted by Julian Hershel at 2/9/2004 10:55:13 AM
My vb.net form was using a toolbar control with no problems. I needed to modify the toolbar to add a dropdown button showing a menu. After that, the images of my toolbar won't appear at runtime, though they appear at design time. I am not using XP styles and also tried to edit the automatic gene...more >>

Update current row in Datagrid
Posted by MB at 2/9/2004 10:50:43 AM
Hello! When running dataadapter.update current row in my datagrid is not updated. I want the current row to be updated without having to move to another row in my datagrid. Any ideas? Regards Magnus ...more >>

How to add new line to TextBox
Posted by George Ter-Saakov at 2/9/2004 10:31:42 AM
How do i add a new line to the TextBox (Multiline=true) With out making a copy of the whole array. Thanks. George. ...more >>

How to determine single click vs. double click?
Posted by Gregg Walker at 2/9/2004 9:39:00 AM
I have a windows forms application that needs to do one thing for a single click and another thing for a double click event. However, the forms click event gets fired whenever a double click event occurs and I don't want to perform the single click event plus the double click whenever the user dou...more >>

Question about DataTable and DataGrid
Posted by Pry at 2/9/2004 4:36:06 AM
Hi, - I have created a table that has 4 columns (type System.String) - called myDataTable. The table is created during the Form_Load function. - I have created a DataGrid, called dataGrid1. Now, to my problem: Each time my user clicks on the "search" button, a search is performed, the tabl...more >>

Can I create another form in another thread?
Posted by james ou at 2/9/2004 2:56:05 AM
hi, everybody I want to create another form in another thread. But if I do this, the form will be created and closed immediately Can I create another form in another thread The purpose I want to do is that before the application is started, I want to display a starting form. So I create the st...more >>

PeekMessage(), GetMessage()
Posted by Mahesh at 2/9/2004 1:31:05 AM
Hello All Is there an alternative of Win32 API's PeekMessage() and GetMessage() functions in .NET What I want is to peek in the message queue for a message and if it is some specific message, I need to discard it from being dispatched to the form Can this be achieved in .NET? I couldn't find any ...more >>


DevelopmentNow Blog