You should draw the text to that picturebox, use Print method, and cls to clear. Also set autoredraw to true
Printable View
You should draw the text to that picturebox, use Print method, and cls to clear. Also set autoredraw to true
Kedaman, I tried what you suggested but it still won't print the number in the icon. Maybe there is some different way to put the icon in the system tray? If you know of a way that works, I would really appreciate it.
Thanks again,
Raymond
Try updating the tray icon after the redraw.
The Picturebox you're referring too is used only as a receiver for the Window Messages sent by/to the Tray Icon,
so doing any kind of graphical operation on the Picturebox will do you no good.
Instead you will have to either update the Icon each time,
or use the "ToolTip" of the Tray Icon (although this way the new value wouldn't be visible unless the mouse is moved over the icon).
You do know how to draw the icon right?
You could use an imagelist's extracticon method to convert a bitmap to an icon.
Take a look at this thread
http://forums.vb-world.net/showthrea...threadid=23577