Well the save file dialog, for some reason removes all file extensions that are input to it. No matter what i do or how i set the filename value, it always removes the extension which is incredibly annoying when i need to extension to stay as it is otherwise the file will save without any extension, does anybody know how to get rid of this problem? thanks.
Webbsta
0
Light Poster
Recommended Answers
Jump to PostHave you try saveFileDialog.AddExtension property? It is indicating whether the dialog box automatically adds an extension to a file name if the user omits the extension.
The extension added to a file name depends on the currently selected file filter.
Jump to PostPlease post your code, so that any one can find the solution.
All 8 Replies
Webbsta
0
Light Poster
selvaganapathy
31
Posting Pro
Webbsta
0
Light Poster
selvaganapathy
31
Posting Pro
Webbsta
0
Light Poster
jskuby
0
Newbie Poster
nidhishah18
0
Newbie Poster
Weakegg
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.