Export (0) Print
Expand All

SaveFileDialog Component Overview (Windows Forms) 

The Windows Forms SaveFileDialog component is a pre-configured dialog box. It is the same as the standard Save File dialog box used by Windows. It inherits from the CommonDialog class.

Use it as a simple solution for enabling users to save files instead of configuring your own dialog box. By relying on standard Windows dialog boxes, the basic functionality of applications you create is immediately familiar to users. Be aware, however, that when using the SaveFileDialog component, you must write your own file-saving logic.

You can use the ShowDialog method to display the dialog box at run time. You can open a file in read/write mode using the OpenFile method.

When it is added to a form, the SaveFileDialog component appears in the tray at the bottom of the Windows Forms Designer.

Community Additions

ADD
Show:
© 2014 Microsoft