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: Anders Hellström <anders at hellstrom dot org>
Date: Fri, 4 Jan 2002 22:34:43 +0100
At 16.25 -0500 02-01-04, Andrew Ellis wrote:
>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

CD's can be of any size from 0 to 700 MB so that wouldn't be a very good 
solution. Another thing to consider is HFS CDs with multiple sessions since 
they show up as multiple volumes.


--
Anders Hellström
anders at hellstrom dot org
http://www.hellstrom.org/


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