|
-
Feb 19th, 2007, 05:19 PM
#1
Thread Starter
Lively Member
[RESOLVED] Launch a program when windows starts
How can i make my program open when windows starts? I know i can put it in the start folder to open when windows loads, but what other options do i have? I want it to open every time the system starts up and under ever user. Maye i can ise the registry. But im not sure whats the best way of doing this.
Last edited by stevevb6; Feb 19th, 2007 at 05:24 PM.
-
Feb 19th, 2007, 06:47 PM
#2
Re: Launch a program when windows starts
Why do you want to do that?
-
Feb 19th, 2007, 09:25 PM
#3
Thread Starter
Lively Member
Re: Launch a program when windows starts
i am expermenting with a program that i want to load on start-up. It will (if i can get it to work) Open some programs that i regularly use on my computer, so when i turn it on, im ready to go. I know that i can probably find something to do this, but i think i can learn a lot of different code by doing this.
-
Feb 19th, 2007, 09:42 PM
#4
Re: Launch a program when windows starts
You can write a line to the registry to do this. For the current use write it to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
... or for all users write it to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
The value key should be a string which could contain any descriptive name and the full path (quoted if the path contains spaces) of your program as the data value.
However doing this will not start your program when the system starts but rather when a user log on, but I guess that is what you want.
-
Feb 19th, 2007, 09:56 PM
#5
Thread Starter
Lively Member
Re: Launch a program when windows starts
thanks, should do the trick.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|