473,750 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

program on startup

hi, how can i get my program to start on every boot of the computer?
--
-iwdu15
Feb 24 '06 #1
8 1022
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" <jmmgoalsteraty ahoodotcom> wrote in message
news:94******** *************** ***********@mic rosoft.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...l ike 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\M icrosoft\Window s\CurrentVersio n\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\M icrosoft\Window s\CurrentVersio n\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" <jmmgoalsteraty ahoodotcom> wrote in message
news:38******** *************** ***********@mic rosoft.com...
sorry about my lack of information...l ike 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
14168
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
3007
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 running. The apply log states that the program is running, but nothing is moving. The only diagnostics...
8
1428
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 OS startup, is there a way to do that? Thank you very much! Regards,
5
2636
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 could use? I'm using Microsoft Visual Basic 2005 Express Edition. Thanks in advance.
27
2079
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 exe is still in use--I find it is still a process in Task Manager. What do I need to do to make clicking that X actually end the program? Public Class Form1 Inherits System.Windows.Forms.Form
55
16702
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, I wrote ";" (Semicolon), so, program output will display blank screen. But Friends, I am not sure, Does anyone has perfect solution?
4
2106
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 Microsoft.DirectX.AudioVideoPlayback.Audio class for that purpose. My problem is whenever I send a command to the program windows gives an error related to the directX, and shuts down the program. However if I run the program manually after the startup it works just fine. I have...
1
3583
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 cluster machine. Also, I used Generic Application to create a job to call my bat file and this job is...
2
1582
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 RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal Hkey As Long, ByVal lpSubKey As String) As Long...
0
9575
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9256
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8260
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6803
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4712
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3322
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2798
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.