Solved

Backup a msacces database with savedialog

Posted on 2014-01-24
2
137 Views
Last Modified: 2014-01-24
Dear Experts,

I want to write code to give the user the ability to create a backup of an access database by pressing on a button. Must I disconnect first and then connect the database after making the copy or can I just use a file copy methode?

Greetings, Peter Kiers
0
Comment
Question by:peterkiers
2 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points
ID: 39806450
A simple filecopy will suffice BUT if a user is in the process of writing (possibly reading)  then it will very likely fail.  Safest is for all users to stop using the database before making the copy.
0
 
LVL 1

Author Comment

by:peterkiers
ID: 39807293
Oke thank for the advice. Peter
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question