![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Hobbyist Programmer
|
Drive Insertion Detection
Hello everyone, It's been a couple of weeks I believe.
I have a question to ask about detecting when a disk is inserted. a disk being either a floppy, CD, USB etc.. As you now windows automatically detects a Drive or Disk when inserted, and unless the option is disabled, it will prompt you with a dialog giving you options of what to do / how you want to open the data. I am writing a program that needs the ability to know when a new drive letter is mounted. I have looked around the internet for a couple of days regarding this matter, and other than trying my damned hardest to re-write some C# code I have had no success. maybe somebody here has an idea? Info : My program wants to be notified when there is a USB drive inserted and on the occasion of it being inserted the program will search the drive for a specific file, if the file exists it can carry out its duty, otherwise nothing is done. I must thank anyone who even takes time to look at this thread.
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles.. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Slackware installation guide for Linux beginners | coldDeath | Coder's Corner Lounge | 104 | Jul 29th, 2007 4:40 AM |
| Stupid Windows, stupid DVD-RW drive | Prm753 | Coder's Corner Lounge | 9 | Jan 21st, 2006 7:26 PM |
| Linked list insertion at the tail | elford | Java | 9 | Jan 7th, 2006 9:04 AM |
| Second Hard Drive Issues... | ViOLATiON | Coder's Corner Lounge | 2 | Dec 31st, 2005 12:45 AM |
| minimizing hard drive activity? | chepfaust | Coder's Corner Lounge | 3 | Mar 25th, 2005 10:49 PM |