By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,373 Members | 1,792 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,373 IT Pros & Developers. It's quick & easy.

closing an exe

P: 3
I haven't really used VB much before to create .exes only in access

I have made an exe that empty's a given folder so i can just click it and erase the contents.

somewhat of an embarrassing problem though, the exe wont stop running without me closing the form but i want the form to be invisible

any help would be gratefully received
Sep 19 '07 #1
Share this Question
Share on Google+
2 Replies


VBPhilly
P: 95
I haven't really used VB much before to create .exes only in access

I have made an exe that empty's a given folder so i can just click it and erase the contents.

somewhat of an embarrassing problem though, the exe wont stop running without me closing the form but i want the form to be invisible

any help would be gratefully received
The forms invisible, but it is still in memory.
Try adding the following after your code:
Expand|Select|Wrap|Line Numbers
  1. unload form1
  2.  
if that doesnt work, the 'not so recommended' solution:
Expand|Select|Wrap|Line Numbers
  1. End
  2.  
Sep 19 '07 #2

P: 3
yeah thats the problem - ctrl-alt-del and then finding the process is about as much effort as opening the folder manually I'll try that now

thanks
Sep 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.