Click to See Complete Forum and Search --> : I need help!


February 16th, 2000, 02:06 PM
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 Sports1467@aol.com Thanks.

Kyle Burns
February 16th, 2000, 02:17 PM
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.