Results 1 to 4 of 4

Thread: FileCopy Question *SOLVED*

Threaded View

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Question FileCopy Question *SOLVED*

    I have an option for the user to make a backup of the database into the directory C:\Backup. This is fine. My question is when I want to copy the backed up database into the application folder do I have to specify the full directory path or can I use something like this "App.Path & "\database.mdb"?

    Below is the current code I'm using.
    Code:
    Private Sub mmuBackupsRestore_Click()
    Const Directory = "C:\Backup"
    Const File = "database.mdb"
    Dim FSO As Object
    FileCopy "C:\Backup\database.mdb", "C:\Program Files\KidsSpace\database.mdb"
    Last edited by lintz; May 19th, 2003 at 08:49 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