Click here to Skip to main content
15,888,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to open a file physically of a specific type using CFileDialog in MFC
Posted
Comments
Resmi Anna 26-Apr-12 6:13am    
Are you tryng to display files of a specfic type in "File Open" dialog and then select any file from that list??

I would go for CFile::Open()[^].
 
Share this answer
 
Comments
Chandrasekharan P 26-Apr-12 4:53am    
I thought he wanted to open a specific type of file. and that too using CFileDialog.
Richard MacCutchan 26-Apr-12 4:55am    
You don't open files with CFileDialog, that just allows the user to select the files he is interested in.
Chandrasekharan P 26-Apr-12 4:58am    
Oh yes... I meant the filters. Thanks for correcting me.
Richard MacCutchan 26-Apr-12 6:27am    
Well, you may have been right in your interpretation of the question as the post was not very clear.
Try This link. [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900