I assume it is possible to make a VB.NET program a startup item. How can this be accomplished? If it's overly complicated, dont bother explaining it, just say: "It's too complicated you moron" or something like that. :D
Printable View
I assume it is possible to make a VB.NET program a startup item. How can this be accomplished? If it's overly complicated, dont bother explaining it, just say: "It's too complicated you moron" or something like that. :D
It's too complicated you moron
There are ways to do this in any language.
1. AUTOEXEC.BAT
2. Start-up Folder. it's in the Program Files folder, just put in a bat file, shortcut or exe into it and it'll run it on start-up.
3. Registry. Something like
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
There are TONS more ways, it's extremely simple. www.google.com I'm sure has ther ways
Okay, thanks! So I dont actually code that into the program, that's why I couldn't figure it out, I wasn't thinking along the right lines. I know how to do all the stuff you mentioned, I just never thought of them.
Thanks!
hey..about that HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, would the key be like:
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\appname
and value be a shortcut or something?
there should be keys in that already for you to look at....Quote:
Originally posted by R.a.B.B.i.T
hey..about that HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run, would the key be like:
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\appname
and value be a shortcut or something?
What you need to do is right-click on the empty space below all the items that are already in the list. Select "New", then "String Value". Now name your string value whatever you want. Now right-click on it and select "Modify" and type in the file path in the "Value Data:" field.
Export the file, then double-click on the newly exported file, and restart your comp for the changes to take effect.
Another easy solution , let this little problem be handled by InstallShield Installer . Have a look at the attachtment .
Hi,
I think you want to put the file at startup during installation. Then just create a setup project put your application at "Startup" folder. That all.
:)
I've just had a look at WI , it seems to do the trick . It's been long time I've not used it . I liked InstallShield :D