Solved

Start a VB program as first thing WIN9* does

Posted on 1998-12-20
3
155 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vba find the last empty column 10 89
Updates not working for MS Windows 7 12 153
vbModal 12 37
converting visio 2010 to powerpoint 2010  - formatting issues 5 39
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now