Results 1 to 3 of 3

Thread: 2 REEEALL hard questions

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    Actually, really hard.

    I need to know if VB has the ability to format a floppy disk (preferably without the 'are you sure?' prompt or the 'enter a name for this volume' prompt.

    Second part, in case that's too easy, I want to know if there is a way I can write data, byte by byte to specific clusters on the floppy that I choose.


    POSSIBLE?

    ANybody?

    Thanks

    Wengang
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    For the first Q
    http://www.mvps.org/vbnet/code/shell/undocformatdlg.htm
    Maybe you can find a constant anywhere to prevent from showing the dialog, OR you could (after shelling the dialog) get the handle, and click a few buttons via your prog.

    For the second Q, I have no idea of clusters and stuff so I can't help you with that, sorry!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    For your first question, maybe this doesn't show a dialog. http://forums.vb-world.net/showthrea...threadid=27647
    For your second question maybe you can do it with the help of vbio.dll or an assemblye question. (sorry for the vague answer)
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width