Trigger events when program closes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zartanian
    New Member
    • Aug 2012
    • 1

    Trigger events when program closes

    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.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    It doesn't sound like you want a whole program...
    I would go with the batch file idea.

    -Frinny

    Comment

    Working...