load vb.net application when OS starts
-
Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?
Write it as a Windows Service, install the service, set the service Startup Type to automatic.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
-
Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?
-
Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?
Or put an entry in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key using RegEdit or some other method of writing to the registry. All you need to so is create a REG_SZ value, give it any name you want and give it the entire commandline you would use to launch your app, just like you would use in a shortcut. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Put it or a shortcut to it in the Startup folder. e.g. C:\Documents and Settings\All Users\Start Menu\Programs\Startup
xtremean wrote: Put it or a shortcut to it in the Startup folder. That won't actually run the application when the computer boots, which is what the original poster requested.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
-
Write it as a Windows Service, install the service, set the service Startup Type to automatic.
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
-
Or put an entry in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key using RegEdit or some other method of writing to the registry. All you need to so is create a REG_SZ value, give it any name you want and give it the entire commandline you would use to launch your app, just like you would use in a shortcut. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Dear guys, Good afternoon... How can we load a vb.net application when I boot the computer?