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? I'm probably just not understanding how the class should be used in this instance.
I don't have access to that class on my work machine. Would you be kind enough to post it so I can have a look? Also, please post your code.
No problem It's been in limbo as it was hosted by my former employer. I'm currently communicating with cadcommunity.net concerning the possibility of hosting the site with them.