473,587 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Add a program to startup on installation

I want to offer someone the chance to add my new program to their startup
when they install it. I don't mean the Start Up menu, but to be listed in
msconfig and start up automatically when the computer does.

Can anyone tell me how to do this?
Nov 17 '05 #1
1 2333
Have your installer open your registry and at the key
[HKEY_CURRENT_US ER\Software\Mic rosoft\Windows\ CurrentVersion\ Run].
--for each program you want to start automatically create a new string value
using a descriptive name, and set the value of the string to the program
executable.

For example, to automatically start Notepad, you would add a new entry of
"Notepad"="c:\w indows\notepad. exe".

Peter

"Cashdeskma c" <Ca*********@di scussions.micro soft.com> wrote in message
news:7E******** *************** ***********@mic rosoft.com...
I want to offer someone the chance to add my new program to their startup
when they install it. I don't mean the Start Up menu, but to be listed in
msconfig and start up automatically when the computer does.

Can anyone tell me how to do this?

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
14157
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
4
2997
by: esmith2112 | last post by:
Having a bear of a time trying to implement replication under 8.2 environment. I've created all of the control structures on both source and target database and can actually see data being staged in the CD tables. I look at the subscription sets and see that everything seems to be pointing to the right tables, etc., and see that apply is...
3
3042
by: Douglas Buchanan | last post by:
Buttons don't work if form is opened on startup A2k If 'frmMain' is set to open by default at startup none of the buttons work. If 'frmMain' is opened from the database window then all the buttons work. The form's name ('frmMain') is selected from in the Startup dialog box.
4
1337
by: I_AM_DON_AND_YOU? | last post by:
Hi Cor: You have given a very good suggestion that I can directly reference the "Program Files" Folder. Actually my vb.net program reads/write a notepad file record.txt. For example, the name of my program is MYPROGRAM and I am presuming that it would be installed in the "MYPROGRAM" folder of "Program Files". Therefore I can reference...
8
1019
by: iwdu15 | last post by:
hi, how can i get my program to start on every boot of the computer? -- -iwdu15
0
750
by: Big Daddy | last post by:
After downloading the latest critical updates from Microsoft anything I install has it's folder in "C:/Program Files/xxx new installation" open at Windows Boot. I have 2 such programs, one is Musicmatch Jukebox 10 Plus and the other is Winfast DVD PVR Video capture. I have looked in the registry, win.ini, autoexec and the windows startup...
1
3571
by: =?Utf-8?B?S2Vubnk=?= | last post by:
I have one bat file that contains a command to startup Java Program. Then, I would like to create a cluster job to call the bat file. In case of one computer is down, another computer can also call the bat file and startup my Java Program. For this purpose, I have tried to place the bat file into share drive of two computers which are...
2
1566
shek124
by: shek124 | last post by:
I want to run a windows startup program. here my code: Public Declare Function RegCloseKey Lib "advapi32.dll" (ByVal Hkey As Long) As Long Public Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal Hkey As Long, ByVal lpSubKey As String, ByVal phkResult As Long) As Long Public Declare Function...
4
1435
by: Joe | last post by:
Hi, I am using VS2005 and am attempting to create a Setup project to install my VB.NET application onto the customer's target computer. I am having difficulty setting the Target property for the Desktop shortcut. It only allows me to select the Application folder. I cannot add the actual name of the executable program after that. When...
0
7918
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.