i want to know the backup procedurs of database through vb

i am devoloping a Software like production managment. i want to Know how to make the weekly backup or monthly backup or the yearly backup procedures through vb? i want to know the algorythem as well as coding? i am using Ms Access as my backend.
ARUNKUMAR20Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TigerZhaoCommented:
quickly, Copy mdb to other mdb. Don't forgot close connection first.
0
xchaixCommented:
dear arunkumar,

for me ..i just make a simple form just to handle it..

you can create a checkbox with caption weekly, monthly and yearly..

then press a command button.. it will copy the database to the new database.. *please don't use same name*
before that make sure you close all the connection to the database

and 1 more solution is.. you use a date comparison.. to get weekend try used format function.. eg.

format(date,vbFirstJan1)

and so on..

-chai-
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.