Results 1 to 2 of 2

Thread: Create a backup with VB 6.0

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    1

    Angry Create a backup with VB 6.0

    Hi, im programming with VB 6.0 and i need to know the code to generate a backup of my database with its made by MS Access...

  2. #2
    Just a really quick guess, perhaps you can use the DAO Database object's MakeReplica method. You'll have to add Microfts DAO 3.x Object library to your project's references. Then, create a Database Object that represents the Access Database that you want to backup. Next, call the makeReplica method. While this might create a copy of the database, I don't think it actually creates a .bak file. I've never used this function before.

Posting Permissions

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