I'm using vc++ 6 and have created an multi doc application. I want to know how to get the name of the file when saving. Eg. the user draws a picture then saves the file as "Filename.abc". How do you get "Filename.abc"? The reason is I'm saving other info in a text file and want the text file name to match the application file name. I also need to get "Filename.abc" when opening an existing document.