Solved

Start a VB program as first thing WIN9* does

Posted on 1998-12-20
3
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

734 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