RobertMottram
Programmer
I have an application which opens on form, once the user has entered some parameters I want to close that form and open another. The problem is that if I close the first form the application stops. What is the best way to do this. I have just moved from VB 6 where this was not a problem as the program continued to run until the last form was closed.
I have got to this point
Start form is form1
Sub Form1_load
....Code....
Dim form2 as new form2
from2.show
End Sub
Sub From2_load
....Code....
form1.close
...code...
End Sub
This will all work, but when from1 is close the whole program closes and I don't want this.
I am sure this is a very simply problem, but I have got totaly stuck on it!
Thanks for any help you may be able to give
Rob
I have got to this point
Start form is form1
Sub Form1_load
....Code....
Dim form2 as new form2
from2.show
End Sub
Sub From2_load
....Code....
form1.close
...code...
End Sub
This will all work, but when from1 is close the whole program closes and I don't want this.
I am sure this is a very simply problem, but I have got totaly stuck on it!
Thanks for any help you may be able to give
Rob