Need Help With API

D

Douglas J. Steele

Create a new module (not a class module), copy everything between "Code
Start" and "Code End" on that page, and paste it into the module.

Remember when saving the module that modules cannot have the same name as
routines saved within them: to be safe, name your module something like
mdlBackup.

To backup, you'd put something like the following code somewhere in your
application (probably on the Click event of a Backup button, or in the
Unload event of your switchboard form):

If fMakeBackup() Then
MsgBox "Backup was successful."
Else
MsgBox "Backup failed."
End If
 
G

Guest

Thanks Doug!

Douglas J. Steele said:
Create a new module (not a class module), copy everything between "Code
Start" and "Code End" on that page, and paste it into the module.

Remember when saving the module that modules cannot have the same name as
routines saved within them: to be safe, name your module something like
mdlBackup.

To backup, you'd put something like the following code somewhere in your
application (probably on the Click event of a Backup button, or in the
Unload event of your switchboard form):

If fMakeBackup() Then
MsgBox "Backup was successful."
Else
MsgBox "Backup failed."
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top