Start program automatically when Windows starts 
Author Message
 Start program automatically when Windows starts

Hi,

I'd like to provide my users with a checkbox like:

"Start [this program] automatically when Windows starts"

What's a good way to do this? I'd prefer to place/remove a shortcut in the
users "Startup" group (as this is also the easiest for the user to find),
but could settle for some entry in the registry.

Thanks,
Hans.



Sat, 23 Jul 2005 16:25:35 GMT  
 Start program automatically when Windows starts
Hi Hans,

If you really want it to do this, you need to build it as a Windows Service.
There is a project template for these in VS.NET.

HTH

Greg Low
Brisbane, Oztralia


Quote:
> Hi,

> I'd like to provide my users with a checkbox like:

> "Start [this program] automatically when Windows starts"

> What's a good way to do this? I'd prefer to place/remove a shortcut in the
> users "Startup" group (as this is also the easiest for the user to find),
> but could settle for some entry in the registry.

> Thanks,
> Hans.



Sat, 23 Jul 2005 16:43:39 GMT  
 Start program automatically when Windows starts
Have a look in the registry under the Local
Machine\Software\Microsoft\Windows\CurrentVersion\Run Hive - you can add an
entry there to your app path and it will start for all users at start up,
you check box just needs to write / delete your entry in the hive.  If you
want it user specific then set the same path but start from Current User


Hi,

I'd like to provide my users with a checkbox like:

"Start [this program] automatically when Windows starts"

What's a good way to do this? I'd prefer to place/remove a shortcut in the
users "Startup" group (as this is also the easiest for the user to find),
but could settle for some entry in the registry.

Thanks,
Hans.



Sat, 23 Jul 2005 16:55:35 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Starting sound program(.exe) automatically when screensaver(.scr) starts

2. Starting sound program (.exe) automatically when screensaver (.scr) starts

3. Making program start when windows starts...

4. How Can I Make My program start when Windows starts and Undo It

5. Start my program when windows starts

6. Make a program start when Windows start

7. starting a program automatically...

8. .How to automatically start a program?

9. Coding help- Automatically starting a program

10. to automatically start up a program

11. to automatically start up a program

12. start my exe when windows starts

 

 
Powered by phpBB® Forum Software