P
Paul M
I have two forms in a sample application, in my sub Main() i start the main
one - Application.Run(form1)
in the first form i have a button that opens up form 2:
Dim f2 as new form2
f2.showdialog()
now, this is where i hit the problem, i have code in a button that validates
user entry, but if an error returns i show a messagebox, but when i cliek OK
or CANCEL, it closes the dialog, but also closes the form!!!!
does this mean that i need to use Application.Run(f2) to keep it open also?
thanks,
Paul.
one - Application.Run(form1)
in the first form i have a button that opens up form 2:
Dim f2 as new form2
f2.showdialog()
now, this is where i hit the problem, i have code in a button that validates
user entry, but if an error returns i show a messagebox, but when i cliek OK
or CANCEL, it closes the dialog, but also closes the form!!!!
does this mean that i need to use Application.Run(f2) to keep it open also?
thanks,
Paul.