Results 1 to 2 of 2

Thread: How can I delete my program while it is running without using another program

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    3
    It doesn't really matter if it makes an error message, but how can I make my program self-delete itself, either RIGHT AWAY, or at next RESTART, without using another program to do it. Thanks.

  2. #2
    Junior Member
    Join Date
    Mar 2000
    Location
    Omaha, NE, USA
    Posts
    28

    Delete on Reboot

    I won't guarantee this works.

    "SSourceFile = App.path + "\My.Exe"

    MoveFileEx(sSourceFile, vbNull, MOVEFILE_DELAY_UNTIL_REBOOT)"
    - Ovid -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width