Click here to Skip to main content
12,239,778 members (63,636 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
Dear Friends,

Here I developed desktop application in that when the modem is connected "GSM Modem connected succesfully" through the Notify Icon message its working fine. But when I cross check with pendrive the same Notify Icon message "Modem Connected Sucessfully" is showing. My applications is developed only for modems not pendrives. But I dont know how to compare these two. If any information please share with me.


Regards,

AnilKumar.D
Posted 12-Jul-12 23:55pm
Edited 13-Jul-12 5:06am
Wes Aday104.2K
v2
Comments
Trak4Net 13-Jul-12 14:00pm
   
Can you give an example of how you detect when a device is connected?

If you are using windproc you can look at this article. You should be able to evaluate the device type from the structure.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363246(v=vs.85).aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160426.1 | Last Updated 13 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100