Thread: Backup Database

  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,981
    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, 01:09 PM
  3. Replies: 10
    Last Post: 05-18-2006, 11:23 PM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 04:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 10:17 PM