Hi i really need code to back up an access database. Am using visual studio 2005. i have to submit my project next week..
please help me. I want to place the code in a button back up..
geetajlo -2 Junior Poster in Training
Recommended Answers
Jump to Postthe easiest way is copying current access database to backup folder.
Use FileCopy to copying file.
this following code is an example :Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click FileCopy("D:\Authors.mdb", "D:\BackUpFolder\NewBackUpName.mdb") End Sub
So file Authors.mdb in D:\ will copying into …
All 2 Replies
Jx_Man 987 Nearly a Senior Poster Featured Poster
november_pooh commented: Right +1
Sawamura commented: Nice +1
Jx_Man 987 Nearly a Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.