how to stop the user from changing the FileName in savefiledialogBox?I mean that cant be editable....
please help me
Savefiledialogbox file name readonly
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
FroglegRank #1,020 · 1.9K reputationPosted Mar 29, 2011, 9:32 PM EDT
1: Just use a save button with default file name
2: If you want the user to be able to choose a folder to save the file, use folderbrowser dialog -let the user choose the folder and then save file to there
3: Create your own custom save file dialog
4: Lastly you can enter a default file name, and when the user clicks the dialog OK button, if they have changed the file name, revert it back to default and pop up a messagebox
explaining why