Jeremy,
 
There is a Windows API function called GetDriveType which returns an integer value depending on wether the drive is removable (which would be a floppy or zip drive), remote (network drive), CD ROM, HDD etc.  .  I would suggest just feeding each letter of the elphaget into this function until you get a removable retured.  You could probably start at d (since a zip drive is unlikely to be a, b or c).  Don't know how it would work with a zip drive that was on another machine that yours is mapped to.
 
 
Nigel Tavendale
-----Original Message-----
From: Jeremy Coulter <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Monday, 1 February 1999 16:31
Subject: [DUG]: Detecting Zip Drives

nyone know how to tell if a drive is a zip drive or not ? or even how to
detect a zip drive ?

Cheers,
Jeremy Coulter
Software Developer
Application Development Centre
Compaq Computer New Zealand Ltd.

Phone: 64 3 371 5761
Fax:     64 3 371 5747
E-mail:       [EMAIL PROTECTED]

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to