Results 1 to 4 of 4

Thread: That elusive floppy

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217
    how can I find what floppy(zip floppy etc) that a cpu has on it? I want to add a send to floppy option to my prog
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    [code]
    Dim sDrive As String
    Dim lType As Long
    Const FLOPPY = 2
    Const A = 65
    Const Z = 90

    For nLetter = A To Z
    sDrive = Chr(nLetter)
    lType = GetDriveType(sDrive & ":\")
    If lType = FLOPPY Then
    ' It's a floppy.
    End If
    Next

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Location
    Columbus Ohio
    Posts
    217

    A new Guru?

    Wow a guru ive never seen....thanks though
    Chris

    [email protected]
    Windows XP RC2 B2526
    Visual Studio.Net Beta 2
    C++, VB, VB.Net, ASP, PHP

  4. #4

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