Start application before Windows startup
-
Hi! I'm developing a security application under Windows xp and I want it to run at the very beginning of the startup, before any other application starts. Is there any easy way to do it? Thank you very much. JaVinci.
Hi A simple way is to make a Installer of the application with the option of putting the application in the StartUp folder under windowsXP Otherwise,If you have a very good knowledge of Windows Registry,(make sure to have registry Backup before editing it)then you can add the add a new startup application using the following Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]. For your Program to run,create a new string value and set the value of the string to the program executable. For example, to automatically start Microsoft Paint, add a new entry of "Paint"="c:\windows\mspaint.exe". Kaushik Baruah, Programmer Analyst in Cognizant Technology Solutions,India
-
Hi A simple way is to make a Installer of the application with the option of putting the application in the StartUp folder under windowsXP Otherwise,If you have a very good knowledge of Windows Registry,(make sure to have registry Backup before editing it)then you can add the add a new startup application using the following Open your registry and find the key [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]. For your Program to run,create a new string value and set the value of the string to the program executable. For example, to automatically start Microsoft Paint, add a new entry of "Paint"="c:\windows\mspaint.exe". Kaushik Baruah, Programmer Analyst in Cognizant Technology Solutions,India
Hi and thanks for your reply! I was looking for some kind of registry solution... But it's important for my application to start before any other user application, does this solution grant it? My firewall, for instance, is launched even before the Win xp login screen appears, I mean, I know it can be done... I just don't know how... Thank you very much, Kaushik. JaVinci.
-
Hi and thanks for your reply! I was looking for some kind of registry solution... But it's important for my application to start before any other user application, does this solution grant it? My firewall, for instance, is launched even before the Win xp login screen appears, I mean, I know it can be done... I just don't know how... Thank you very much, Kaushik. JaVinci.
-
Try to build your application as windows service[^] from vb.net.
A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office
-
Hi and thanks for your reply! I was looking for some kind of registry solution... But it's important for my application to start before any other user application, does this solution grant it? My firewall, for instance, is launched even before the Win xp login screen appears, I mean, I know it can be done... I just don't know how... Thank you very much, Kaushik. JaVinci.
Maybe you should check the CP article here. I think it will fit your needs better that putting your application in HKLM/.../Run
...Plug & Pray... X|