Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - How to Detect the insertion/removal of flash card media

Reply
 
Old 05-27-2008   #1 (permalink)
Joe Miller


 
 

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

My System SpecsSystem Spec
Old 05-27-2008   #2 (permalink)
Jeff Gaines


 
 

Re: How to Detect the insertion/removal of flash card media

On 27/05/2008 in message
<63B61DD0-6720-466B-8901-B07C3C417CE6@xxxxxx> Joe Miller wrote:
Quote:

>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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Desktop Icons disappearing after startup & power cord removal/insertion General Discussion
Toshiba flash card, VLC and Media player. Vista performance & maintenance
Removal of Readyboost Flash Drive Vista General
Vista won't detect my USB flash drive General Discussion
Usb flash drive removal Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46