Solved

Start a VB program as first thing WIN9* does

Posted on 1998-12-20
3
161 Views
Last Modified: 2010-05-03
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
Comment
Question by:dapump
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
jf26028 earned 100 total points
ID: 1451662
Install it as a service.
0
 
LVL 1

Expert Comment

by:jf26028
ID: 1451663
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
 

Author Comment

by:dapump
ID: 1451664
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question