There is one little problem...When you burn a CD, it actually only formats
it to the amount of data that's on it. So you could have a CD where the
Capacity property would read 256MB. In which case your method would happily
ignore it.
-Mike
on 1/4/02 4:25 PM, Andrew Ellis at loopend at yahoo dot com wrote:
> 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
|