By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,757 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,757 IT Pros & Developers. It's quick & easy.

FileSystemWatcher problem

P: n/a
hi,

i have a problem with the FileSystemWatcher:
i want the watcher to monitor my cd drive. but when i try to set the
FileSystemWatcher.Path property to "e:\" (which is my drive) and there
is no cd inside i get an exception.
So my question is - how can i monitor my cd-rom drive for disc changes?
Apr 1 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello SharpCoderMP,

FileSystemWatcher doesn't work with CD and DVD drivers

S> i have a problem with the FileSystemWatcher:
S> i want the watcher to monitor my cd drive. but when i try to set the
S> FileSystemWatcher.Path property to "e:\" (which is my drive) and
S> there
S> is no cd inside i get an exception.
S> So my question is - how can i monitor my cd-rom drive for disc
S> changes?
---
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
Apr 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.