Show and Close Forms

Posts 1–4 of 4 · Page 1 of 1
Show and Close Forms
I have a slight problem.

Whenever I put:
Form2.Show()
Me.Close()

It opens the second form but closes the first and second form.
Is there a way to just close the first form without closing the second one.
Btw, i do not want to hide the first one or is this the only method that works.
use

form2.show()
form1.hide()

^^ i learned from nextgen1
Go to your Project Properties (Project>*Project Name* Properties) and see if the Shutdown mode is at "When startup form closes".

Change that to "When last form closes".

You probably won't encounter that problem anymore.
^^its a winner!
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us