|
-
Jun 8th, 2006, 09:07 AM
#1
[RESOLVED] Add programs to the windows startup
I have developed a programe named as exeproject.vbp , After Installation through package and devlopement wizard, i want my program icon to be placed in task bar icon. How can i do this.
-
Jun 8th, 2006, 09:11 AM
#2
Re: Add programs to the windows startup
do you mean add you program down in the tray by the clock?
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 8th, 2006, 09:16 AM
#3
Fanatic Member
Re: Add programs to the windows startup
Do u mean Startup or taskbar? If startup then u can do it by copying the file by filecopy in the startup folder.
Dont rely only on your luck. Work hard until You get success.
vb Code:
Private sub Time_ispassing
While Me.Notgetsuccess
trygain=tryagain+1
Me.workhard
wend
end sub
-
Jun 8th, 2006, 09:20 AM
#4
Re: Add programs to the windows startup
Hi Static,
Thanks for the reply.Yes I want to add in the tray by the clock?
-
Jun 8th, 2006, 09:23 AM
#5
Addicted Member
-
Jun 8th, 2006, 09:31 AM
#6
Re: Add programs to the windows startup
Hi cyber alex,
Thanks for the Post.I need the my form has to be placed automatically whenever windows starts
-
Jun 8th, 2006, 09:34 AM
#7
Re: Add programs to the windows startup
put a shortcut to your app in the startup folder
or
add you app to the registry in the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 8th, 2006, 09:35 AM
#8
Addicted Member
Re: Add programs to the windows startup
okey...then you'll just have to use the Task Icon.zip code and install your exe program into the Startup folder.
-
Jun 8th, 2006, 09:35 AM
#9
Re: Add programs to the windows startup
-
Jun 8th, 2006, 09:36 AM
#10
Re: Add programs to the windows startup
and as a tip... Cyber_alex's code will work to add the icon.. but I would recommend putting a lot of the code into a module.. to keep it cleaner
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 8th, 2006, 09:38 AM
#11
Re: Add programs to the windows startup
TrayIcon:
Shell_NotifyIcon API.
How To Manipulate Icons in the System Tray with Visual Basic
@Vivek:
Copying the whole exe is not a good idea. That exe may need many other files in App.Path. 
Adding just a shortcut in startup folder or, Add/Remove your program to computer startup (through the registry) will do the trick.
Edit: I'm very slow today.
-
Jun 8th, 2006, 09:38 AM
#12
Addicted Member
Re: Add programs to the windows startup
mm, If you add your app into the registry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and put your program in the startup folder the program will automaticly startup when Windows starts.
And with the Task Icon code that I posted it will be added as a Task Icon.
Hope it works!
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
|