Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-2008, 03:26 AM
mrbar mrbar is offline
Newbie
 
Join Date: Jan 2008
Location: Kuala Lumpur, Malaysia
Age: 35
Posts: 9
Rep Power: 0
mrbar is on a distinguished road
Send a message via MSN to mrbar Send a message via Yahoo to mrbar
Default Backup and restore MSAccess db from VB6

Can anyone teach me how to create backup and restore function?

The database is for the system itself, which means the database is currently open when the system is in use.

How to perform backup or restore? How to build such code?
__________________
MRBAR
visit http://mrbar.sitesled.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 02-16-2008, 08:29 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Mod
 
Join Date: Jul 2006
Age: 35
Posts: 1,751
Last Blog:
Game software (GURPS)
Rep Power: 24
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default

If you just want the data, go through each table doing a "SELECT * FROM table_name" and save the results somewhere. You can restore using INSERT statements.

For table structure, you'll need to do a little research on how to extract the table names/fields.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 07:15 PM
mrbar mrbar is offline
Newbie
 
Join Date: Jan 2008
Location: Kuala Lumpur, Malaysia
Age: 35
Posts: 9
Rep Power: 0
mrbar is on a distinguished road
Send a message via MSN to mrbar Send a message via Yahoo to mrbar
Default

What I mean was I want to backup my whole database into a new file, like duplicating the database.mdb to another file named databackup.mdb and later I can use the backup file if the database file is damaged or corrupted.
__________________
MRBAR
visit http://mrbar.sitesled.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-13-2008, 04:50 AM
fyz fyz is offline
Newbie
 
Join Date: May 2008
Posts: 2
Rep Power: 0
fyz is on a distinguished road
Default Re: Backup and restore MSAccess db from VB6

Hi,

Copy the mdb file and put in another place is very useful. Besides, sometimes the backup also will damage. I would liek to use a tool called Advanced Access Repair to repair my corrupt Access MDB files . With the both methods, the mdb file is more likely to keep safe.

Alan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Backup, restore on VMWARE Ronin Computer Software/OS 3 09-25-2007 08:16 AM
Joomla Backup AND restore Johnnyboy Website Design 24 01-01-2007 01:18 AM


All times are GMT -5. The time now is 06:36 PM.

Contest Stats

John ........ 87.50000
dargueta ........ 75.00000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads