Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

closing the startup form from another form

Status
Not open for further replies.

pink2070

Programmer
Joined
Jan 29, 2004
Messages
23
Location
US
I would like to close the startup form from another form (I understand that this will stop the application, this is my goal)

I have tried:
dim frm as StartUpFormName
frm.close()

This does not work, any suggestions?

My goal is to stop the application (meaning all windows need to close). If you have any other suggestions please let me know.

Thanks
Pink
 
Did you mean, How to exit your application.
If is that, from any form you can execute :
Application.Exit()
that will close application(all winforms).
 
Thank you very much!

Pink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top