Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recognising attachment to USB picture card reader

Status
Not open for further replies.

beedubau

Programmer
Jan 7, 2003
97
AU
I have an application I have developed which could be enhanced if I could recognise a card being plugged into a card reader much the same as Windows does it but my app would then offer options to the user.

Is there any code that provides this facility?

Thanks

Bryan
 
Bryan,

Use BINDEVENTS(). You can use it to detect Windows messages, which includes the insertion of USB devices. You'll need to read the Help for BINDEVENTS(), then research the specific messages that are relevant to this situation.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Thanks Mike and Ilyad,

I don't have the skills to unravel that interesting code - I am unable to isolate a USB connection.

Would there be a code snippet somewhere or a further clue?

Regards Bryan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top