CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Location
    Greece
    Posts
    26

    Create backup database from button

    Goodmorning.
    I have an application and a database in C++ Builder 2007 and Access 2007. I want to create a button in my application that will check if the file of database today exist and will make a copy with today day. and create a folder. for example:


    1.Monday 23/11/2012
    2.Thuesday 24/11/2012
    ..
    ...
    ..
    When i will make a week will go again on monday folder and copy paste on the last file.
    How i can start;;; any ideas

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Create backup database from button

    1. Create a dialog-based application, add a button on the dialog template
    2. Create a message handler for this button
    3. Implement a function to perform a database backup
    4. Call this function from the button-click message handler
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured