Link to home
Start Free TrialLog in
Avatar of dapump
dapump

asked on

Start a VB program as first thing WIN9* does

Does anyone know of an API call or something of the like that will allow me to start a program as the first thing Win9* does?  I have a program that NEEDS to start before the  logon option ( for networking ) during startup.  
ASKER CERTIFIED SOLUTION
Avatar of jf26028
jf26028

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jf26028
jf26028

Sorry, for some reason, I didnt put this information in the above answer.  What you need to do is build your exe and then do the following steps

Edit you registry and go to the following key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices

Right click on the right side window and do New > String Value.
From there, you can give the name you want, and for the value, you must put in the path to your app that you want to run.
Then, everytime windows starts up, it will run before the login screen.
Avatar of dapump

ASKER

Thanx!