I'm using Visual Basic 5 Enterprise and have a HP CDRW Drive (D:\). I would like to know two things:

i. How can I have VB copy a file from the C:\ and onto a cd in the D:\. I've tried the FileCopy function but it says that access is denied. Is there another way to do this?

ii. How do I take everything on a CDRW disk and erase it from within VB?

Thanks alot,
Brandr Beekman
[email protected]