Sample code to close the running .exe?

GFritz34
12-16-2004, 11:39 AM
My form is an .exe that I have made and I would like to add a button to close the exe. (an exit button)

I've looked through my book and don't see one example of this :(

Iceplug
12-16-2004, 11:40 AM
Unload Me
if your form only has one form.

Unload all of the forms in your project to end your application.

Also:
For Each frm In Forms
Unload frm
Next

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum