closing forms

mmarkym

Member
Joined
Aug 20, 2005
Messages
13
Programming Experience
3-5
This may be a stupid question but inside a button event handler, I want to open another form and close the current form. I tried me.close and then form.open but both forms close.
 
Open Close Forms

I had same problem but changed the 'project'; 'projectproperties'; 'application'; 'shutdown mode:' to "when last form closes"....as long as you do form1.show() before me.close() it seems to work fine, with 2 form anyway:) .
 
seanhepburn2002 said:
I had same problem but changed the 'project'; 'projectproperties'; 'application'; 'shutdown mode:' to "when last form closes"....as long as you do form1.show() before me.close() it seems to work fine, with 2 form anyway:) .

yes, but that's only if you're using vb 2005. seanhepburn2002 hasnt specified which version he's using which is why we assuming it's vb 2002/2003
 
Back
Top