Click here to Skip to main content
15,900,973 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
I am working on a GUI project where i want a form to auto load when the computer starts can u please suggest some solution...
Thank You
Radix
Posted

One solution is adding your application to Start->[All] Programs->Startup sub menu (C:\Documents and Settings\All Users\Start Menu\Programs\Startup).

Another option is using registry: see here[^] or/and here[^] for simple tutorials. :)

Regards
 
Share this answer
 
Why don't make your program to be launched automatically by Windows at startup (see, for instance [^])?
:)
 
Share this answer
 
No program with a user interface can be started when the computer starts. However, you *could* write a windows service, which will run as soon as Windows is started (and usually without a user being logged in).

If you need a program to run when a user logs in, you can put it in the Startup folder.
 
Share this answer
 
just create an EXE of you form and put it in StartUP folder
it will get automatically called by OS
StartUP folder exist in

..\Documents and Settings\All Users\Start Menu\Programs\Startup


thnaks
koolprasad2003 :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900