Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Windows Startup
Two ways to do it properly: Creatinh Shortcut of your App in Startup folder or using the registry. There are also another ways to do it (like configuring autoexec.bat or win.ini), but I wouldnt recommend them to you. My recommendation would be using registry. How to do it depends on when you would like your App to start.
If you want it to start when particular user logs, you should then write key to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
If you want it to start when windows starts (no matter which user), you should then write key to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
There you should create new key
ValueName=YourAppName (this value can be anything)
ValueData=C:\Program Files\YourAppFolder\YourApp.exe (path to your app)
____________________________
If you find the answer helpful, please mark this topic as solved.
|