Click here to Skip to main content
16,006,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How I write a wizard that have 4 window ? Pin
storein6-Aug-02 21:02
storein6-Aug-02 21:02 
GeneralC++.net question Pin
Zenix26-Aug-02 16:05
Zenix26-Aug-02 16:05 
Generalsendmessage help Pin
imran_rafique6-Aug-02 16:02
imran_rafique6-Aug-02 16:02 
GeneralRe: sendmessage help Pin
Peter Occil6-Aug-02 17:00
Peter Occil6-Aug-02 17:00 
Generalshortcut access to base class function/variable Pin
oRion6-Aug-02 16:00
oRion6-Aug-02 16:00 
GeneralRe: shortcut access to base class function/variable Pin
Anonymous6-Aug-02 23:24
Anonymous6-Aug-02 23:24 
GeneralRe: shortcut access to base class function/variable Pin
oRion7-Aug-02 2:43
oRion7-Aug-02 2:43 
GeneralFile copy (Backup/Restore) utility.Read it n u'll cum 2 know Pin
tushar bhatnagar6-Aug-02 13:18
tushar bhatnagar6-Aug-02 13:18 
First of all Thanks for reading this post.

In my project I have a Access databse. I want to take a backup of the database file, when the user wants to , from the application.And restore it whenever user wants to.

The database file is in the current directory.

May be by a function OnBackup()
In this function i want to implement a mechanism, by which the software gets the pointer to the file (mdb file) and then save this file to his/her desired target.
I understand that this can be one by getting pointer to the file by using GetFile() function and by saving it using OnSaveDocument() function.
But then how to invoke OnFileSaveAs kind of diaolog box?

Please provide the complete detail how to do it. Or may be some source code.

Or else , suggest me some other beter mechanism to do backup/restore of a file.


GeneralRe: File copy (Backup/Restore) utility.Read it n u'll cum 2 know Pin
Anonymous6-Aug-02 23:30
Anonymous6-Aug-02 23:30 
Generaldynamic button ... Pin
AlinRO6-Aug-02 13:17
AlinRO6-Aug-02 13:17 
GeneralRe: dynamic button ... Pin
Hydralisk6-Aug-02 14:59
Hydralisk6-Aug-02 14:59 
GeneralControl Redraw broken Pin
CaesarCZ6-Aug-02 13:05
CaesarCZ6-Aug-02 13:05 
GeneralVS 6 & XP Home & NTDLL.DLL Pin
Eldon Zacek6-Aug-02 12:20
Eldon Zacek6-Aug-02 12:20 
GeneralRe: VS 6 & XP Home & NTDLL.DLL Pin
Wolfram Steinke6-Aug-02 18:22
Wolfram Steinke6-Aug-02 18:22 
GeneralRich Text Edit Boxes Pin
Ken Mazaika6-Aug-02 12:05
Ken Mazaika6-Aug-02 12:05 
GeneralRe: Rich Text Edit Boxes Pin
Ken Mazaika6-Aug-02 12:29
Ken Mazaika6-Aug-02 12:29 
Questionhow to preallocate memory? Pin
francg6-Aug-02 11:46
francg6-Aug-02 11:46 
AnswerRe: how to preallocate memory? Pin
Tomasz Sowinski6-Aug-02 12:02
Tomasz Sowinski6-Aug-02 12:02 
AnswerRe: how to preallocate memory? Pin
alex.barylski6-Aug-02 14:54
alex.barylski6-Aug-02 14:54 
AnswerRe: how to preallocate memory? Pin
Daniel Lohmann7-Aug-02 1:21
Daniel Lohmann7-Aug-02 1:21 
QuestionHow to use CTreeCtrl::SetCheck correctly? Pin
Pachoo6-Aug-02 11:27
Pachoo6-Aug-02 11:27 
AnswerRe: How to use CTreeCtrl::SetCheck correctly? Pin
Tomasz Sowinski6-Aug-02 11:38
Tomasz Sowinski6-Aug-02 11:38 
GeneralHandle Right Click on Static Label in Dialog Pin
Aaron Schaefer6-Aug-02 10:53
Aaron Schaefer6-Aug-02 10:53 
GeneralRe: Handle Right Click on Static Label in Dialog Pin
jmkhael6-Aug-02 11:19
jmkhael6-Aug-02 11:19 
GeneralRe: Handle Right Click on Static Label in Dialog Pin
Jeremy Falcon6-Aug-02 11:20
professionalJeremy Falcon6-Aug-02 11:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.