I\'m creating a richtextbox editor and need to put a save function as well as a save as. I can easily do a save as function by using the savefiledialog but im not sure how 开发者_开发百科to save witho
App.config: <add key=\"SaveDraftPath\" value=\"C:\\Drafts\\\"/> C#: var saveDraftPath = Configu开发者_如何学JAVArationManager.AppSettings[\"SaveDraftPath\"];
While showing a save dialog, I want to hook user\'s filter type change and change file extension automatically. (e.g. like MSPaint\'s \"Save As\" operation.)
I am using a SaveFileDialog and have to set long string(longFileName) in FileName. String longFileName is known at Runtime.
I\'m giving a user a link to dow开发者_运维知识库nload a csv file ...just using Click <a href=\"report.csv\">here</a> to download your file.
I\'d like to change the file name of the SaveFileDialog in the event handler attached to the FileOk event, in order to replace the file name typed in by the user with another file name in some cases,