Results 1 to 3 of 3

Thread: FileCopy -- Permission Denied

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30

    Question

    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]

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Location
    Lost in the Mojave Desert
    Posts
    82

    Question

    i think that your problem might be that you must specify the destination file name



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





    [Edited by Bam_BamIR on 07-19-2000 at 04:52 PM]
    Don't go away mad, just go away.

    Bam-Bam

  3. #3
    Junior Member
    Join Date
    Jul 2000
    Location
    Land of Entrapment
    Posts
    31
    Oops I read it wrong never mind!!

    [Edited by bulletbob on 07-19-2000 at 10:09 PM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width