how can i open a file(.doc or .txt or .xsl) in a dialog in MFC?
C / C++ / MFC
5
Posts
4
Posters
0
Views
1
Watching
-
i use CFile function .i can open the open dialog but icant able to open the file.
-
i use CFile function .i can open the open dialog but icant able to open the file.
CFile Lfile
Lfile.open("D:\\sam.txt",CFile::Read);
This kind of way open your file.......
-
i use CFile function .i can open the open dialog but icant able to open the file.
-
i use CFile function .i can open the open dialog but icant able to open the file.
You can opea and read files with CFile but for show files like xls or other files(jpg) you need to know detaily of these files (BasicExcel - A Class to Read and Write to Microsoft Excel [^]).
-
CFile Lfile
Lfile.open("D:\\sam.txt",CFile::Read);
This kind of way open your file.......
This is helpful for txt files. :)