|
-
Aug 23rd, 2003, 08:46 PM
#1
Thread Starter
Addicted Member
Making a program a Startup item
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.
Take my love
Take my land
Take me where I cannot stand
I don't care, I'm still free
You can't take the sky from me...
-
Aug 23rd, 2003, 09:20 PM
#2
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
-
Aug 23rd, 2003, 09:40 PM
#3
Thread Starter
Addicted Member
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!
Take my love
Take my land
Take me where I cannot stand
I don't care, I'm still free
You can't take the sky from me...
-
Aug 24th, 2003, 07:59 PM
#4
Addicted Member
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?
-
Aug 24th, 2003, 09:00 PM
#5
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?
there should be keys in that already for you to look at....
-
Aug 24th, 2003, 11:25 PM
#6
Thread Starter
Addicted Member
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.
Take my love
Take my land
Take me where I cannot stand
I don't care, I'm still free
You can't take the sky from me...
-
Aug 25th, 2003, 02:02 AM
#7
-
Aug 25th, 2003, 02:14 AM
#8
Lively Member
Use Microsoft Installer...
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.
-
Aug 25th, 2003, 02:27 AM
#9
Sleep mode
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|