I have form1 and form2.

In Form1 load event I do this:

dim aForm as new Form2
aForm.Show

I have a button in form2. I've tried;

form1.close

but this code doesn't work!

please correct me.