Hi Mr Davison.
    I will give it a try!
    Thanks for your usefull hint!

Cheers!

emman

-----Original Message-----
From: Mark Davison <[EMAIL PROTECTED]>
To: 'Emmanuel Par�' <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: 8 mars, 1999 12:45
Subject: RE: MI Get the cdrom drive from vb


Not sure whether this is strictly the correct forum but something
like...

  Set fs = CreateObject("Scripting.FileSystemObject")
  For iDrv=65 to 90 ' 65=A, 90=Z     ASCII code
    Set d = fs.GetDrive(Chr$(iDrv))
    if d.DriveType = "CDROM" then
  MsgBox "Bingo"
    end if
  Next iDrv

  or something like this anyway.....

HTH

Mark

-----Original Message-----
From: Emmanuel Par� [mailto:[EMAIL PROTECTED]]
Sent: 08 March 1999 15:23
To: [EMAIL PROTECTED]
Subject: MI Get the cdrom drive from vb


Hi!


    Is there a way to determine the cdrom drive in vb.. (api,function?)
I
need it to load .avi file located on cdrom when the user click
on a map object.


Thanks.

Emmanuel


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to