CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: I need help!

  1. #1
    Guest

    I need help!

    I have a program that I want to run only once. After it closes I want it to be removed from the hard drive so that it can't be run again. How would I do this? Is there an API call or special command that I can use? Does anyone have any ideas? If you know how, please email me at [email protected] Thanks.


  2. #2
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: I need help!

    Jeffery Richter wrote a "Win32 Q & A" Article in the January 1996 MSJ that deals with this. This is in the Periodicals Section of the MSDN. It was written for C, but the API was written for C programmers. You might try porting that over. One consideration you need to take into account is that without going through an uninstall process, you will leave all of the registry entries and support files for your app.


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

Featured