How to show an icon for a USB device in system tray
-
Hello, I have an instrument that is connected to computer via USB. I want when I plug in the device an icon to be displayed in system tray. I don't want any specific function like a menu or blinking or anything else. Just when I plug the device an icon to be displayed and when I unplug it the icon goes away how can I do this? thanks.
-
Hello, I have an instrument that is connected to computer via USB. I want when I plug in the device an icon to be displayed in system tray. I don't want any specific function like a menu or blinking or anything else. Just when I plug the device an icon to be displayed and when I unplug it the icon goes away how can I do this? thanks.
You can't do this artibtrarily. There is no setting you can change to magically pop out an icon in the tray. You'd have to write your own application to monitor the driver to see if it's loaded and then put up your own icon.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008