I have written a small VFP utility that writes data files out to a Flash Drive.
It is pretty simplistic and works just fine.
But when the write operation is complete the user, more often than not, just 'jerks' the Flash Drive out of the USB port on the workstation.
When they do this they most often do not use the OS to set up for Safely Removing the Flash Drive.
The result of removing the unit while under power is that it occasionally corrupts and/or damages the Flash Drive.
What can I use within my VFP utility to 'Power Down" the Flash Drive and make it safe to physically remove?
Any advice/suggestions you might have to offer would be greatly appreciated.
Thanks,
JRB-Bldr
It is pretty simplistic and works just fine.
But when the write operation is complete the user, more often than not, just 'jerks' the Flash Drive out of the USB port on the workstation.
When they do this they most often do not use the OS to set up for Safely Removing the Flash Drive.
The result of removing the unit while under power is that it occasionally corrupts and/or damages the Flash Drive.
What can I use within my VFP utility to 'Power Down" the Flash Drive and make it safe to physically remove?
Any advice/suggestions you might have to offer would be greatly appreciated.
Thanks,
JRB-Bldr