Hi All
i am try to save file through CFileDialog.I search and read from google then use this code.
It's not working proper.When i select Text Files option from drop down from CFileDialog then Blank show in CFileDialog.Code:CString filter="Excel Files(*.xls;*.xlsx)|*.xls;*.xlsx|Text Files(*.txt)|*.txt|CSV Files(*.csv)|*.csv||"; CFileDialog fileDlg(FALSE, NULL, NULL, OFN_PATHMUSTEXIST|OFN_OVERWRITEPROMPT,filter); if(fileDlg.DoModal()==IDCANCEL) { return; } CString filepath = fileDlg.GetPathName ();
Really i don't know why this this thing happen in my application please help me




Reply With Quote