I have form1 and form2.
I have a button in form2. What is the code to unload Form1?
Printable View
I have form1 and form2.
I have a button in form2. What is the code to unload Form1?
form1.close()
:confused:
you are starting the project from a Sub Main are you then?
because if your start up form is Form1 and you close it from Form2, it will close the whole application down.