473,320 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

program on startup

hi, how can i get my program to start on every boot of the computer?
--
-iwdu15
Feb 24 '06 #1
8 1013
cj
put it in the start, programs, startup folder?

iwdu15 wrote:
hi, how can i get my program to start on every boot of the computer?

Feb 24 '06 #2
thanks for the reply, but i forgot to mention that i would like it to be how
every other program starts up on bootup.
--
-iwdu15
Feb 24 '06 #3
Define 'how every other program starts up on bootup' and define 'every other
program' and you might get a response or two.
"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:94**********************************@microsof t.com...
thanks for the reply, but i forgot to mention that i would like it to be
how
every other program starts up on bootup.
--
-iwdu15

Feb 25 '06 #4
sorry about my lack of information...like im creating a program that i want
to run every startup...it just watches all processes and exits some that the
user specifies. i want it to be running the background from when the computer
boots up to when it shuts down without the user havignt o do anything. for
instance, i want it to startup like an anti-virus program would, directly on
the bootup
--
-iwdu15
Feb 25 '06 #5
Hello,

For this you will have to make an entry in the Windows Registry.

Your most likely entrypoint would be

HKLM\Software\Microsoft\Windows\CurrentVersion\Run

Regards
Cyril Gupta
Feb 25 '06 #6
Cyril wrote :
For this you will have to make an entry in the Windows Registry.
Your most likely entrypoint would be
HKLM\Software\Microsoft\Windows\CurrentVersion\Run


Hi Cyril,

That is not an option I would recommend, since it blatantly violates
the principle of Least Privilege. (You would need Admin access to write
to that key in the Registry)

(Though there are enough violators out there to make it acceptable in
most eyes !)

Regards,

Cerebrus.

Feb 25 '06 #7
awsome, thanks, thats just what i was looking for. and cerebus, il keep that
in mind also, thanks
--
-iwdu15
Feb 25 '06 #8
Sounds too much like a Windows Service. And Windows services can be set to
startup automatically after installation.
I suggest you do some research on development of Windows Services.

Regards,

Cerebrus.

"iwdu15" <jmmgoalsteratyahoodotcom> wrote in message
news:38**********************************@microsof t.com...
sorry about my lack of information...like im creating a program that i want to run every startup...it just watches all processes and exits some that the user specifies. i want it to be running the background from when the computer boots up to when it shuts down without the user havignt o do anything. for
instance, i want it to startup like an anti-virus program would, directly on the bootup
--
-iwdu15


Feb 26 '06 #9

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

Similar topics

2
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
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...
8
by: ZhangZQ | last post by:
How to make the Windows to run a console program during OS startup, like the Chkdsk program to do when the OS does not shutdown properly? Now I want to run my program instead of Chkdsk during the...
5
by: Casper | last post by:
I'm trying to get my program to run in the system tray. I've looked at dozend of tutorials on the web and on newsgroups but I just dont get it! Has anyone got any links or example code that ...
27
by: cj | last post by:
I run this program and to exit click the X in the upper right corner. But apparently it isn't really ending the program. If I return to VB and make changes then try to rebuild the app it says the...
55
by: Dev | last post by:
Hello Folks, I had faced this objective in one of my aptitude exams, that "What could be the smallest "C" program? And, as we know, smallest program means, it should execute single statement,...
4
by: duzinga | last post by:
I am trying to have a server program that runs at startup and accepts several commands from the clients. One of the commands is to play an audio file. I am using...
1
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
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.