Re: Removable drive notification

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello SharpCoderMP,

API WM_DEVICECHANGE message is responsible for this
Googling and you will find several samples how to handle this message in C#

Smth like this http://www.dotnet247.com/247reference/msgs/43/217435.aspx, Ying-Shen Yu reply

S> what can i do to have my app be notified when there is a new drive in
S> the system? I need to perform some actions in my application when new
S> drive (like SD card or some usb storage device) shows up in the
S> system.
S> ---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche


.



Relevant Pages

  • ASP Authentication
    ... Googling around, I saw a couple of ways to meet my needs, but all seem to be weak: ... I can check a session number or smth like that on each page...but this does not seem very reliable, ... are guaranteed to be 12 students or less to facilitate one-on-one ...
    (Security-Basics)
  • Generating thumbnails
    ... I know this has been asked many times and a bit of googling has ... found no way to do it well, I am currently drawing it on to a window canvas ... I just wonder if it is the API call PDDocDrawToWindows ...
    (comp.text.pdf)
  • Re: Channel Switch in GO, can I do this with java.nio
    ... understanding the API) by myself via googling the net. ... Any prefered site to start with? ... Learning Java, by O'Reilly. ...
    (comp.lang.java.programmer)
  • Re: log4j configuration and Applets
    ... API does not fulfil the needs of this applet? ... Might be taking the proverbial when it comes to doing my own googling, ...
    (comp.lang.java.programmer)
  • Where is "imports Win32"?
    ... but after 2 hours googling I give up. ... What is the easiest/recommended way to access the Win32 API from VB Studio Express? ... I assumed it would be a simple matter of Imports Win32, or something similar and the whole API would be exposed. ...
    (microsoft.public.dotnet.languages.vb)