Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
myMailTo
Fake Drag Bar - Stage
Select From DropDown List
OSControl Xtra Review
Get the computer name of user
ZGTSB-TextScroll
Powerpoint in Director
SQLite Xtra
De-Xplode that text random
DivXInstaller Xtra
MediaMacros Xtras Mall
 

 

 

Behavior Find CD Drives letter quikly

Added on 11/22/2002

 

Compatibilities:
D7 D8 D8_5 D9 Mac PC

Required Xtras:
FileXtra

This item has not yet been rated

Author: barb3tta

Unlike all the others examples, this behaviour skips the A and B letters, 'cause they are always floppy drive (or I think so).

--list of volumes stored in ls
f = xtra("FileXtra3").new()
ls = f.fx_volumesToList()
i = 1
--checking volumes...
repeat while i <= ls.count
--a: and b: are floppy: delete them
if ls="A:" or ls="B:" then
ls.deleteAt(i)
else
--ok if there's a CD onto the drive
if f.fx_volumeIsCDROM(ls) then
i = i + 1
else
--delete item if it's a hard drive or there isn't any CDROM...
ls.deleteAt(i)
end if
end if
end repeat

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail