Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

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.  
0
dapump
Asked:
dapump
  • 2
1 Solution
 
jf26028Commented:
Install it as a service.
0
 
jf26028Commented:
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.
0
 
dapumpAuthor Commented:
Thanx!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now