Copy .mdb file in VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bytesbytes
    New Member
    • Apr 2008
    • 16

    Copy .mdb file in VB

    VB6.0 ; MSaccess
    when i try to do the following
    FileCopy "C:\Folder\Data base.mdb", "C:\Folder\Data base1.mdb1"

    im getting Permission Denied error. Where could be the issue?
    Please help me.
    THANKS in advance
  • anuragshrivastava64
    New Member
    • Jan 2007
    • 66

    #2
    Originally posted by bytesbytes
    VB6.0 ; MSaccess
    when i try to do the following
    FileCopy "C:\Folder\Data base.mdb", "C:\Folder\Data base1.mdb1"

    im getting Permission Denied error. Where could be the issue?
    Please help me.
    THANKS in advance

    May be you are trying to copy a database that is opened.
    Close the connection to that database and then copy.

    Comment

    Working...