realbasic-nug
[Top] [All Lists]

Re: Ejecting a CD?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Ejecting a CD?
From: Andrew Ellis <loopend at yahoo dot com>
Date: Fri, 04 Jan 2002 16:25:08 -0500
on 1/4/02 1:51 PM, Thomas Reed at thomasareed at earthlink dot net wrote:

> No, I don't think that's a good solution.  If someone has a laptop with
> CD-ROM, external CD-RW and Zip drive, and flash cards in both PC card
> slots, then I'd end up sending removables flying all over the room.
> That's not the desired behavior.

:) Kids might enjoy all these flying objects though...

Well, I don't have a perfect answer but I can suggest a less than perfect
solution. How about checking in addition to the IsRemovable property, the
Capacity property (a range between 630mb and 720mb to be safe). This should
rule out Zip disks, Jazz disks, DVDs, flash cards,etc. It leaves you with
the CD-RW and CD drives. Since both can read CDs, you just have to eject one
of them for the kids to insert the required CD.
Sounds too unprofessional, I know.

Andrew


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



<Prev in Thread] Current Thread [Next in Thread>