472,793 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,793 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 2463
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Viper99 | last post by:
Need to detect (receive notification) for the insertion/removal of PCMCIA devices on Windows 2000/XP in a C# .Net application. Was able to do this in ATL COM app using CWnd::OnDeviceChange().
9
by: Kelvin | last post by:
Hi, group: I am intermediate in C programming, basically I programmed in Unix for digital signal processing... Now I need to write a C++ program to read/write the whole volume of a FAT...
3
by: Vandana Rola | last post by:
Hi Everyone, Description: I have created flash cards using html layers, jpegs, and javascript. The way I designed it is, I have words and their descriptions (meaning) as jpeg files. Each word...
2
by: Robbie | last post by:
As info, the flash card is not showing up as a drive letter.
6
by: barcaroller | last post by:
If I insert/remove an element in a set, will an iterator to this set automatically become invalid? Does the position of the iterator before the insertion/removal matter? How are vectors and...
0
by: Tim Kelley | last post by:
Is there a facility in C# to detect the insertion of an SD or CF card? Thanks
0
by: PetterL | last post by:
I'm writing a program that confiuring and install a custom app onto a flash card for an embedded device. This is now a two step operation. First in to windows CE builder 4.2 formatt and install CE...
1
by: =?Utf-8?B?Y2FsZGVyYXJh?= | last post by:
Dear all, For one on my customer application I would like to implement the following facilities: As soon as USB stick is inserted I need to run a small application which will take care of...
0
by: samvb | last post by:
Is there any quick way to detect the insertion of a removable media with vb6? Get its drive letter at run time?
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.