January 16th, 2004, 04:47 AM
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...
January 16th, 2004, 05:01 AM
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.