Backup Database

This is a discussion on Backup Database within the C++ Programming forums, part of the General Programming Boards category; I have a program that works with a database, I need to be able to backup my .mdb file so ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    16

    Backup Database

    I have a program that works with a database, I need to be able to backup my .mdb file so a floppy. What's the best way to do that in code?

    Thank you!
    this is my signature

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    In raw C++, one solution is ofstream. Under win32 API, one solution is CreateFile().

    Kuphryn

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    You could use CopyFile() from windows.h.
    You could have the command interpreter do it for you by calling system().
    You could do it yourself with standard File I/O.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. literature database: help with planning
    By officedog in forum C++ Programming
    Replies: 1
    Last Post: 01-23-2009, 12:34 PM
  2. Creating a database
    By Shamino in forum Game Programming
    Replies: 19
    Last Post: 06-10-2007, 02:09 PM
  3. Replies: 10
    Last Post: 05-19-2006, 12:23 AM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 05:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 10:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21