|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
USB disk detection and formattingHi there,
I'm trying to format a USB flash drive from a VB.NET application but can't seem to find a (simple) way of doing so. Also, ideally I'd be able to detect the insertion of the USB drive - though this isn't necessary. I've found the SHFormatDrive VB function, but that only seems to work for floppy drives. Is there something out there that can help? Thanks in advance Paul Taylor Hi,
Not sure about the formatting but here are a couple of examples of how to be notified on device insert. http://www.vb-tips.com/default.aspx?ID=0473ec0b-ae66-47a4-aaee-700b414ef215 http://www.vb-tips.com/default.aspx?ID=e6f103d1-1c0d-4d89-a2a0-f3826480a706 Ken --------------- Show quoteHide quote "Paul Taylor" <paultay***@dsl.pipex.com> wrote in message news:43c99794$0$63062$ed2e19e4@ptn-nntp-reader04.plus.net... > Hi there, > > I'm trying to format a USB flash drive from a VB.NET application but can't > seem to find a (simple) way of doing so. Also, ideally I'd be able to > detect the insertion of the USB drive - though this isn't necessary. > > I've found the SHFormatDrive VB function, but that only seems to work for > floppy drives. Is there something out there that can help? > > Thanks in advance > > Paul Taylor >
How to Exit an application properly on Error
[VB.NET express 2005] - Regular expressions Tabbed MDI Interface Sharing source code between Vs2003 and Vs2005 IDE After Select.......not really? How to send an Email in VB.NET Namespace not available... Wall Charts 2005 No Setup Project in 2005 Express Edition? Keep form on top of everything - even other apps ? |
|||||||||||||||||||||||