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

Trigger events when program closes

P: 1
Hello and thank you in advance for looking at my post.

I work for a small computer repair company and we upload files to customers machines when we remote into them.

Here is what I am looking to do and not sure if it is even a option.

I am going to create a basic windows form app in VB and enclose the programs we use withing the app. What I want to do is force the app to delete itself on close regardless how it closes (selecting close or even a reboot). I was thinking a could write a simple batch file to delete the directory (c:\tech\) then itself.

Just wondering if this can be done any any ideas on how to achieve the results.
Aug 14 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
It doesn't sound like you want a whole program...
I would go with the batch file idea.

Aug 16 '12 #2

Post your reply

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