hi everyone,

how can i react on a plugged in usb drive?
(e.g. show a messagebox or whatever when a usb drive is plugged in)

The whole thing needs to run under windows only (xp and maybe vista)

Recommended Answers

All 3 Replies

I think there's a special kind of windows hook for this. Look here for more information, though i'm not entirely sure, but it's worth a try.

It has nothing to do with hooks.
Just use USB notifications.

It has nothing to do with hooks.
Just use USB notifications.

Could this post have been any more useless? Of course it's to do with USB notifications, i'm just suggesting some area's to look at. If you're going to follow me to almost every windows based thread that I reply to, at least make the posts helpful by actually giving information as to how to solve the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.