I have the following code attached to a command button:

Dim SourceFile, DestinationFile
SourceFile = "C:\RBSSCS\RBSSCS.mdb"
DestinationFile = "D:\"
FileCopy SourceFile, DestinationFile

My goal is to be able to write the RBSSCS database to CDRW media through my CDRW drive. I have an HP CDRW drive (which is the D:\ and I KNOW it works!) with DirectCD (which allows people to treat writing to the CD as if they were writing to a floppy). However, when I run the program and hit the command button I receieve the following message:

Runtime Error '70'
Permission Denied

From what I heard, it IS possiable to use VB5 Enterprise to write to cds (especially CDRWs which i'm told is the easiest to write to). PLEASE HELP!!! I cant do anything until I'm able to resolve this problem!!!

Thanks,
Brandr
[email protected]