Results 1 to 2 of 2

Thread: Test if disk is in A:\ (resolved)

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2002
    Posts
    638

    Test if disk is in A:\ (resolved)

    i'm using this code to test if a disk is in drive A:

    VB Code:
    1. Dim lSerial As Long 'Used to store the serial # of the disk
    2.  
    3. GetVolumeInformation "A:\", "", 255, lSerial, 0, 0, "", 255

    but it keeps returning 0 for the serial #, although it was working yesterday. is it possible for disks to have a serial # of 0, or am i just doing something wrong?

    thanks
    Last edited by tr0n; Nov 7th, 2002 at 04:32 AM.

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