471,350 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

closing an app with multiple forms

If I have an app that has Form1 and Form2. When I open the app Form1 is
displyed, I do some stuff then open Form2 and set Form1 visibility to False.
If I want to totally close the application now closing all forms how do I do
that?

Me.Dispose() doesn't close Form1

Thanks
Mike
Jul 21 '05 #1
1 1142
you need to do a Close() of form1, and that should be all there is to it.

"Mike D" wrote:
If I have an app that has Form1 and Form2. When I open the app Form1 is
displyed, I do some stuff then open Form2 and set Form1 visibility to False.
If I want to totally close the application now closing all forms how do I do
that?

Me.Dispose() doesn't close Form1

Thanks
Mike

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Suresh Kumaran | last post: by
6 posts views Thread by Barry Gast | last post: by
4 posts views Thread by Sam | last post: by
1 post views Thread by Mike D | last post: by
14 posts views Thread by =?Utf-8?B?UHVjY2E=?= | last post: by
2 posts views Thread by =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.