What type of device are you plugging in to the USB?
I wrote an application a few weeks ago that detects flash drives plugged in
to the USB ports & also alerts if the device is removed, but that is only
for flash drives, not other devices.
This was done by overriding WndProc & checking for the correct Windows
Message.
Without knowing which type of device ifs not going to be easy to help you
--
Newbie Coder
(It's just a name)
"Jon B" <no*****@sorry.sorrywrote in message
news:u%****************@TK2MSFTNGP06.phx.gbl...
Hi There!
How do I play a sound from Windows that get played when a USB device is
plug-in or plug out?
Many thanks in advance!!
Jon