473,513 Members | 2,519 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 2329
Have your installer open your registry and at the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\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:\windows\notepad.exe".

Peter

"Cashdeskmac" <Ca*********@discussions.microsoft.com> wrote in message
news:7E**********************************@microsof t.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
14147
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...
4
2994
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...
3
3040
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...
4
1334
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...
8
1016
by: iwdu15 | last post by:
hi, how can i get my program to start on every boot of the computer? -- -iwdu15
0
748
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...
1
3562
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...
2
1561
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...
4
1427
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...
0
7160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7537
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...
0
7525
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...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5086
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...
0
4746
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...
0
3233
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
799
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.