Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Browse the file and read it. Pin
Hamid_RT5-Nov-07 23:46
Hamid_RT5-Nov-07 23:46 
GeneralRe: Browse the file and read it. Pin
CodingLover6-Nov-07 0:13
CodingLover6-Nov-07 0:13 
GeneralRe: Browse the file and read it. Pin
Hamid_RT6-Nov-07 1:40
Hamid_RT6-Nov-07 1:40 
GeneralRe: Browse the file and read it. Pin
chandu0046-Nov-07 1:50
chandu0046-Nov-07 1:50 
GeneralRe: Browse the file and read it. Pin
CodingLover6-Nov-07 18:34
CodingLover6-Nov-07 18:34 
GeneralRe: Browse the file and read it. Pin
Nelek6-Nov-07 21:01
protectorNelek6-Nov-07 21:01 
GeneralRe: Browse the file and read it. Pin
CodingLover6-Nov-07 21:40
CodingLover6-Nov-07 21:40 
AnswerRe: Browse the file and read it. Pin
Nelek5-Nov-07 23:52
protectorNelek5-Nov-07 23:52 
Look at your docu and read about CFileDialog

One example with my personal use in my project, it gives something like save as... asking to overwrite if the file already exists:

CFileDialog newFileDlg (TRUE, "*.ext", NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT, "Searched File (*.ext) | *.ext|", NULL);


Then you can use functions like newDlg.GetFileName (), GetFilePath ()... and others, that will help you to create the archive with CFile or CArchive

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

NewsRe: Browse the file and read it. Pin
CodingLover6-Nov-07 0:46
CodingLover6-Nov-07 0:46 
QuestionRe: Browse the file and read it. Pin
Nelek6-Nov-07 1:52
protectorNelek6-Nov-07 1:52 
QuestionMessage Map Problem [modified] Pin
minihotto5-Nov-07 22:39
minihotto5-Nov-07 22:39 
AnswerRe: Message Map Problem Pin
baerten5-Nov-07 23:35
baerten5-Nov-07 23:35 
QuestionRe: Message Map Problem Pin
minihotto6-Nov-07 1:24
minihotto6-Nov-07 1:24 
AnswerRe: Message Map Problem Pin
minihotto6-Nov-07 1:42
minihotto6-Nov-07 1:42 
GeneralRe: Message Map Problem Pin
baerten6-Nov-07 1:59
baerten6-Nov-07 1:59 
Questionprotect from print-screen Pin
vikramlinux5-Nov-07 22:29
vikramlinux5-Nov-07 22:29 
AnswerRe: protect from print-screen Pin
baerten5-Nov-07 22:37
baerten5-Nov-07 22:37 
GeneralRe: protect from print-screen Pin
Nelek5-Nov-07 23:23
protectorNelek5-Nov-07 23:23 
GeneralRe: protect from print-screen Pin
baerten5-Nov-07 23:37
baerten5-Nov-07 23:37 
GeneralRe: protect from print-screen Pin
Nelek6-Nov-07 1:53
protectorNelek6-Nov-07 1:53 
QuestionHow to connect to database in MFC? Pin
TooShy2Talk5-Nov-07 21:15
TooShy2Talk5-Nov-07 21:15 
QuestionRe: How to connect to database in MFC? Pin
Hamid_RT5-Nov-07 21:26
Hamid_RT5-Nov-07 21:26 
AnswerRe: How to connect to database in MFC? Pin
TooShy2Talk5-Nov-07 22:05
TooShy2Talk5-Nov-07 22:05 
AnswerRe: How to connect to database in MFC? Pin
cx_jin5-Nov-07 22:09
cx_jin5-Nov-07 22:09 
AnswerRe: How to connect to database in MFC? Pin
cx_jin7-Nov-07 15:18
cx_jin7-Nov-07 15:18 

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.