Link to home
Start Free TrialLog in
Avatar of basica
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?
Avatar of mcrider
mcrider

Check out the following microsoft KB articles:

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!®©
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.
Avatar of basica

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!®©
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of basica

ASKER

Thanks.
Thanks for the points! Glad I could help!


Cheers!®©