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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|