-
I have created a VB6 CD autorun app that is a front end to a couple of installers. I need to have the user restart before installing to insure a sucessfull installation. I have put the restart into code without much trouble. The problem is after the restart the autorun app doesn't run. Any gurus out there ideas how I can make it run after the restart?? Thanks
-
Put an entry to your program in the registry under
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" before rebooting. As soon as the program starts, remove the key again.
Haven't done it, but it should work.
//Anders
-
put an entry into
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
it will run once(on reboot) and `viola
-
-
Great
Thanks guys. Being a VB newbie I'm wondering if you can give me a few tips on how to implement this or point me to resource with some tips. I am looking at the registry tutorial on VB-World.com and looks a bit complex so tips are appreciated.