damn, don't you understand ??????? well, i sum up, but it's my last explanation ! 1. you choose your file with the CFileDialog 2. you then get the file path into a CString object 3. you pass this CString object directly to fopen() ! there's no need to change a backslash into double backslashes, because you need this only when you hardcode strings in your source code (because the \ is the character escapment, and '\\' is the ascii code for the \ character) !!!
Don't know where to start ?
Refer the Forums Guidelines and ask a friend
[VisualCalc 3.0][Flags Beginner's Guide]