windows application in startup

Sujatha

New member
Joined
Feb 28, 2005
Messages
3
Programming Experience
5-10
Hi,

I have a windows application developed which can run in system tray. I want to set up the executable to run while the OS starts. One way, i can think of doing it is by writing a windows service which calls my windows application and then set the service to run automatically. I find this a round about way of achieving my target. Could anyone please let me know the ways through which i can run my windows application while starting my OS?

regards,
Sujatha.
 

malitice

Active member
Joined
Feb 20, 2005
Messages
41
Programming Experience
1-3
Easiest way is to add a shortcut into the start>programs>startup folder.

Takes 10 seconds max to add it to your program's set up file.
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
i know there's a way to do it by adding a reference to your app in the registry, i'll post the code later tonight when i find it
 

Sujatha

New member
Joined
Feb 28, 2005
Messages
3
Programming Experience
5-10
Thanks a lot guys.

I have made my program as startup by adding a shortcut in programs->startup and also making an entry in autoexec.nt file. Missing even one of the above does not work for me.

Anyway have got it to work. But would like to take into to consideration the registry entry example. Thanks again.

Sujatha.
 
Top Bottom