471,120 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

How to Detect the insertion/removal of flash card media

I am a developer and a photographer, and I am trying to write a windows
service that can recieve a notification that a compact flash card, or an SD
card has been insterted into a card reader slot. The card reader is a
multi-format (CF/SD/MMC, etc) reader connected to the machine by USB. I want
the service to recieve a notification of the card insertion, so it can grab
the files, read the EXIF/IPTC data, and process the files (cataloging, noise
reduction, other adjustments), etc.

I'm stuck on getting a notification that a media card has been inserted into
a reader. I want this to run as a windows service. Is there a way to do
this?

Thanks,

Joe
Jun 27 '08 #1
1 2362
On 27/05/2008 in message
<63**********************************@microsoft.co mJoe Miller wrote:
>I'm stuck on getting a notification that a media card has been inserted
into
a reader. I want this to run as a windows service. Is there a way to do
this?
I did this for CDs once using RegisterDeviceNotification, may be worth
looking at it in the help file.

--
Jeff Gaines
Damerham Hampshire UK
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Vandana Rola | last post: by
6 posts views Thread by barcaroller | last post: by
1 post views Thread by =?Utf-8?B?Y2FsZGVyYXJh?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.