G
Guest
the following code doesn't seem to work. Does anyone know why my form isn't showing?
Dim pickarea1 As New PickArea
pickarea1.Show()
Dim pickarea1 As New PickArea
pickarea1.Show()
* "=?Utf-8?B?bWlrZQ==?= said:the following code doesn't seem to work. Does anyone know why my form isn't showing?
Dim pickarea1 As New PickArea
pickarea1.Show()
mike said:the following code doesn't seem to work. Does anyone know why my
form isn't showing?
Dim pickarea1 As New PickArea
pickarea1.Show()
mike said:I get the following error message when I use H. Wagner's
suggestion. An unhandled exception of type
'System.InvalidOperationException' occurred in
system.windows.forms.dll
Additional information: It is invalid to start a second message loop
on a single thread. Use Application.RunDialog or Form.ShowDialog
instead.
* "=?Utf-8?B?bWlrZQ==?= said:the code is inside the load event of the main form.
mike said:does anyone know of any properties that might be set on the form that
I am not aware of. I created a brand new form since this is an
upgraded application and when i called the form it worked. any ideas
will be appreciated. Thanks