I am using OpenDialog as a replacement for GetSaveFolderItem. I am using the former because I need the ability to use InitialFolder to set where I want to store a file. The problem I have is that as a “Save As” function, I need dlg.ShowModal to not give me a “file not found” pop-up when I press the “Action” button in the Save window when the file doesn’t exist. I set SuggestedFileName to the filename I want to either create or write over.
GetSaveFolderItem. worked fine for creating the file if it needed to, but it had no option in setting the default directory.
Any ideas?
8 posts - 3 participants