I am doing mini project in VB.net. Actually my project contains form1 and form2. I have opened form2 from form1 using "form2.show()" method. While closing form2, my application still remains in debugging mode. I thought my form1 has not yet been closed and used me.close() , to close form1 while opening form2. By doing this i am not able to run my application. please suggest me a solution.
ravikiran032 -7
Light Poster
Recommended Answers
Jump to Postgo to your Project -> Properties -> Application
set Shutdown Mode to "When last form closes"on that way you can close Form1 after Form2.show and the application runs until you close Form2 too
Jump to Postdid you close Form2 after returning to Form1?
sounds like one of your forms are still open.
All 5 Replies
GeekByChoiCe 152
Practically a Master Poster Featured Poster
ravikiran032 -7
Light Poster
GeekByChoiCe 152
Practically a Master Poster Featured Poster
sknake 1,622
Senior Poster Featured Poster
ravikiran032 -7
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.