AdamBray
New member
- Joined
- Oct 16, 2009
- Messages
- 3
- Programming Experience
- 1-3
Hi,
I'm fairly new to VB .NET, though I have a background in development (though it is rusty).
I'm writting a little application that needs to detect when a USB Mouse is Connected and Disconnected. I am running into a dead end when trying to determine the best way detect this. I have tried WMI and WmdProc but I think I am hitting a mental block trying to figure out the best option.
If anyone has any suggestions and sample code on the best way to listen for the connection and disconnection of a USB mouse, I would greatly appreciate the assistance!
I'm fairly new to VB .NET, though I have a background in development (though it is rusty).
I'm writting a little application that needs to detect when a USB Mouse is Connected and Disconnected. I am running into a dead end when trying to determine the best way detect this. I have tried WMI and WmdProc but I think I am hitting a mental block trying to figure out the best option.
If anyone has any suggestions and sample code on the best way to listen for the connection and disconnection of a USB mouse, I would greatly appreciate the assistance!