basica
asked on
Program run in background mode
How do I make a program run in background mode - preferably with it's icon in the bottom right status window?
You can use mcrider's code to put the icon in the tray. Then just hide the form (Form.Hide) When the tray icon is clicked or double clicked, show the form again.
ASKER
Excellent! Thanks for both your help. Who do I give the points to?? Perhaps if one of you could just tell me how to actually design an .ico file for the system tray - I've tried Photoshop, that won't do it. Which is the best program to use?
Go to www.shareware.com and do a search for "icon editor" (don't include the quotes) there are several shareware Icon editors there...
Cheers!®©
Cheers!®©
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
Thanks for the points! Glad I could help!
Cheers!®©
Cheers!®©
HOWTO: Use the System Tray Directly from Visual Basic
http://support.microsoft.com/support/kb/articles/Q176/0/85.ASP?LNG=ENG&SA=MSDN&FR=0
HOWTO: Manipulate Icons in the System Tray with Visual Basic
http://support.microsoft.com/support/kb/articles/Q162/6/13.asp?LNG=ENG&SA=MSDN&FR=0
Cheers!®©