How to determine drive type (CDROM) 
Author Message
 How to determine drive type (CDROM)

I'm trying to determine how to determine which drive letter may be
assign to a users CDROM.

Would the best approach be to let the user tell the app during install
that the CDROM is a certain drive letter? or is there away to determine
this at run time (prefered)?


Thanks for all the help.



Tue, 19 May 1998 03:00:00 GMT  
 How to determine drive type (CDROM)

says...

Quote:

>I'm trying to determine how to determine which drive letter may be
>assign to a users CDROM.

>Would the best approach be to let the user tell the app during install
>that the CDROM is a certain drive letter? or is there away to determine
>this at run time (prefered)?

On Win32 (ie VB4/32-bit) you can call GetLogicalDrives() or
GetLogicalDriveStrings() and then call GetDriveType() for each logical
drive.  For Win16, things get harder - you have to write some yucky
assembler, and put it in a DLL.  There was a DLL around called VBASM
which I believe could do what you are after.

  - S
--
The opinions expressed in this message are my own personal views
and do not reflect the official views of Microsoft Corporation.



Sat, 23 May 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Determining the CDROM drive

2. CDROM drive type

3. Determining Drive Types

4. Help Needed: Determining Removable Drive Type

5. HELP: Trying to determine a drive type

6. Answer to Determining Drive Type

7. Determining removable drive type (capacity)

8. API - GetDriveType -Determine drive type - VB 3.0

9. How to determine if a drive is a CD-ROM drive

10. Determining if a Network Drive is a CD-ROM drive

11. Determining if a Network Drive is a CD-ROM drive

12. Determining drive letter assigned to floppy drive?

 

 
Powered by phpBB® Forum Software