Frank, I'm trying to use the CommonDialog class that I found some time ago on www.acadx.com, and I'm having trouble with the ShowSave function call. I can extract the filename selected by the user from the ofn.lpstrFile property, but the buffer on this in the code seems limited. I set it initially to prompt the user with a name for my application in the Filename box of the dialog, but it seems this limits the size of the buffer for the return filename. E.g. in your code you set mvarFileName to a buffer size of 256 when initialising the class, but I later reset this to the filename to be prompted e.g. "C:\MyFolder\Drawing.dwg" Is there a way to maintain the size of the buffer for the selected filename, and still keep a prompt in the Filename box displayed?