Click to See Complete Forum and Search --> : Restart and application


January 28th, 2000, 11:08 AM
In my application if a certain sys/vxd file is not loaded I would like to copy the file in the system directory, set up the registry and then reboot the machine from within my application. After the machine boots up again I would like my application to be relaunched without the user actually doing this. I know how to restart the windows, but how do I get it to launch my application?

Lothar Haensler
January 28th, 2000, 11:20 AM
create a registry entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
for your application
This will automatically start your after upon start.