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 > august 2003 > threads for tuesday august 19

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 30 31

Evalute String
Posted by Derek Hart at 8/19/2003 11:17:21 PM
If I have a string such as "1=1" or "True And False And True Or True", for example, is there a way in VB.Net to evaluate this into a true or false boolean? I have been using the script COM control with the Eval statement to do this, but is there a way to do this purely in .Net? Maybe using refl...more >>


How to size the form onOpen
Posted by Ernesto Herrera Jr. at 8/19/2003 10:46:28 PM
Hi, I would like to open the form with the maximum amount of screen available without setting it to maximized. In other words, I would need to know what is the resolution of the screen to properly resize the window to fill the screen. I was thinking in using the win32 api "GetDeviceCaps" and fi...more >>

Selecting field from DataGrid when using a Context Menu
Posted by David Elliott at 8/19/2003 9:34:25 PM
I created a context menu and bound it to the data grid this.dataGrid1.ContextMenu = this.contextMenu1; This works fine when I right click. What I am trying to do is to capture the data that is in the specific DataGrid box that the context menu was created on. I am then going to pass it to an...more >>

MainMenu and MenuItems
Posted by Felicity at 8/19/2003 9:26:06 PM
Hello, I am developing a security component for a windows forms application for my company. I want to be able to apply security to MainMenu objects and their associated MenuItems using a generic function. My problem is that I cannot seem to get access to the collection of MainMenu obj...more >>

Thread Question -=> System.NullReferenceException after exiting main()
Posted by David Elliott at 8/19/2003 7:59:56 PM
I have created an application that will dynamically load other DLLs (plugins). The new plugin is a winform with an embedded IE Browser. I am wanting to have the form to run in its own thread. This would allow for other plugins and the main application to be free to do other work. I have writ...more >>

Form, CancelButton, Escape, prevent Form close
Posted by AP at 8/19/2003 4:02:22 PM
Hi, I have a form that has a Close button. I set this close button to be the CancelButton for my form. When the close button is pressed, if there have been any changes made to the form, I popup a MessageBox asking the user if they wish to save their changes, using the YesNoCancel message butto...more >>

DataBinding a RadioButton group
Posted by Srikanth at 8/19/2003 3:49:19 PM
Hi, I have two RadioButtons in a GroupBox. I want to databind these radiobuttons with a value (if '0', one radiobutton is checked else another) of a column in a DataTable. Iam not able to figure out how to do this. Please someone help me. Regards, Srikanth. ...more >>

System.Threading.ThreadStateException
Posted by Bumbrlik at 8/19/2003 2:40:27 PM
I have a form with a grid. When a user selects some text in the Grid and presses Ctrl-C to copy the text, .NET throws an Exception with the description: "The current thread must set to Single Thread Apartment (STA) mode before OLE calls can be made. Ensure that your Main function has ST...more >>



How-to create user control replacing main application form
Posted by Markus at 8/19/2003 12:18:27 PM
Hello all, I'm wading my way into .net by writing some custom controls. I would like to provide a parent class to these controls to give them easy access to common information. Initially tried this as a panel, but find that I can't drop non-visual components onto panels (they fall through...more >>

Child Form Enter Event Fires Twice
Posted by Axe at 8/19/2003 10:27:19 AM
Can someone please tell me why a child form event fires twice? I've got an MDI windows app (C#) that has several child forms that a user can select via an Infragistics tab strip. Axe ...more >>

how to check if a form is already open
Posted by Rainer Halanek at 8/19/2003 5:14:37 AM
Hi, How do I check that a form is already open? I think I have to check how many instances of that form class are initiated, but how do I do that? Thanks, Rainer....more >>


DevelopmentNow Blog