473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

usb insert/removal events

hi willy
i have done the code for detecting insertion/removal of device at USB
port
thanx for ur advice
but is there way to detect if
sd card is inserted or removed from the device at usb
tht is i want to check for sd card insert/remove events

thanx

Nov 17 '05 #1
3 6582
It depends, if the device driver manufacturer cares about Pnp & WMI, it
will, else you won't be able to detect insertion/removal of SD cards. Why
don't you try it yourself?

Willy.
"sanjana" <su****@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
hi willy
i have done the code for detecting insertion/removal of device at USB
port
thanx for ur advice
but is there way to detect if
sd card is inserted or removed from the device at usb
tht is i want to check for sd card insert/remove events

thanx

Nov 17 '05 #2
ok ill try n check ..
Willy Denoyette [MVP] wrote:
It depends, if the device driver manufacturer cares about Pnp & WMI, it
will, else you won't be able to detect insertion/removal of SD cards. Why
don't you try it yourself?

Willy.
"sanjana" <su****@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
hi willy
i have done the code for detecting insertion/removal of device at USB
port
thanx for ur advice
but is there way to detect if
sd card is inserted or removed from the device at usb
tht is i want to check for sd card insert/remove events

thanx


Nov 17 '05 #3
is it possible to have a WMI application on the device????

sanjana wrote:
ok ill try n check ..
Willy Denoyette [MVP] wrote:
It depends, if the device driver manufacturer cares about Pnp & WMI, it
will, else you won't be able to detect insertion/removal of SD cards. Why
don't you try it yourself?

Willy.
"sanjana" <su****@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
hi willy
i have done the code for detecting insertion/removal of device at USB
port
thanx for ur advice
but is there way to detect if
sd card is inserted or removed from the device at usb
tht is i want to check for sd card insert/remove events

thanx


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: imani_technology | last post by:
How would I write a trigger that updates the values of a Description column to upper case for even IDs and to lower case for odd IDs? I need this trigger to fire for INSERT and UPDATE events.
25
by: Andreas Fromm | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Im building an user database with many tables keeping the data for the Address, Phone numbers, etc which are referenced by a table where I...
3
by: Alec Christie | last post by:
Hi All, I have two tables, Clients (ClientID,ClientIndustry,ClientCounty) and EventStatus (StatusID,EventID,ClientID) I have a form that Creates a new Event with the following fields: EventID...
4
by: Tarique Jawed | last post by:
Alright I needed some help regarding a removal of a binary search tree. Yes its for a class, and yes I have tried working on it on my own, so no patronizing please. I have most of the code working,...
7
by: sanjana | last post by:
hi i wanna detect if a anything is connected to the usb port I am using system.management class for tht purpose this is my code class usbdetect { public static void Main() {
3
by: Ryan Liu | last post by:
Hi, What does ArrayList.Synchronized really do for an ArrayList? Is that equal to add lock(this) for all its public methods and properties? Not just for Add()/Insert()/Remvoe()/Count, but also...
3
by: tschwartz | last post by:
I'm trying to write a stylesheet which removes nodes which are empty as a result of other template processing. For example, given the following xml, I'd like to: - remove all "b" elements -...
7
by: BLUE | last post by:
Are there events that are fired when I insert the handheld into or I remove it from the cradle? *OpenNETCF.Desktop.Communication.ActiveSync* class has *Active* (indicates that a connection is...
1
by: Jeff | last post by:
I have located the following code and trying to change this so I know if the USB device has been inserted or removed. The problem I have is I alwayd get the Console.WriteLine("Usb removed") so I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.