Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flushing Flash Memory Disks Programmatically

Status
Not open for further replies.

colttaylor

Programmer
Aug 20, 2002
117
US
I have started using the thumb-sized flash memory drives as a resource for backing up my program's data files. Currently, I copy my data files to the drive and then ask the user to right-click on the little icon at the bottom of the screen and choose "Unplug or Eject Hardware", then follow the prompts.
When they do this correctly, the backup technique works. When they skip the Unplug... step and just pull out the drives, they get an error and because the drive was not ejected, no backup is made.
I would like to figure out how to programmatically do what the "unplug..." icon does. Anybody know how?

Thanks in advance!
Peace,
Colt

If it's stupid but it works, it isn't stupid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top