Seem to be circling back to this but with a different problem.
If the user deletes my suggested filename including the extension the file is saved out as a plain text file with no extension to associate it back to the program.
What am I missing?
Or do you have to validate their entry and add the extension back on? If so at what stage and where do I do that?
I present the SaveAs Dialog
DIM CWPFileTypes as new FileType
CWPFileTypes.Name = “CrosswordPlayerFile”
CWPFileTypes.Extensions = “.cwptext”
dialog = New saveAsDialog
dialog.Filter = CWPFileTypes
dialog.initialDirectory = SpecialFolder.Documents
dialog.PromptText = “Select a location to save your Crossword Player file”
dialog.Title = “Save As”
dialog.SuggestedFileName = “Untitled.cwptext”
dialog.CancelButtonCaption = “Cancel”
dialog.ActionButtonCaption = “Save It!”
savevolfile = dialog.ShowModal