|
-
Jul 14th, 2000, 08:58 AM
#1
Thread Starter
New Member
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
-
Jul 14th, 2000, 09:14 AM
#2
Lively Member
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
-
Jul 14th, 2000, 09:49 AM
#3
put an entry into
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
it will run once(on reboot) and `viola
-
Jul 14th, 2000, 09:52 AM
#4
Lively Member
-
Jul 14th, 2000, 11:00 AM
#5
Thread Starter
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|