Page Rank

Subscribe

Categories

Recent posts

Alexa Rank

Working of SaveFileDialog Component in C#


  • This topic explains about the working of SaveFileDialog component in C# programming.
  • With this you can save file into your location.
  • Tools needed: Button1 (Button1), SaveFileDialog1 (SaveFileDialog1), RichTextBox1 (RichTextBox1).

C#.NETWorking of SaveFileDialog Component in C#

  • C# is an Object Oriented Programming language from Microsoft that mainly combines the computing power of C++ with the programming ease of Visual Basic.
  • C# is mainly based on C++.
  • The most recent version is C#4.0.
  • C# language is simple, modern, general-purpose, object-oriented language.

SaveFileDialog ClassWorking of SaveFileDialog Component in C#

  • Help the user to select a location for saving a file.
  • This class cannot be inherited.

Namespace:  System.Windows.Forms

Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

  • Syntax for SaveFileDialog

CommonDialog.ShowDialog MethodWorking of SaveFileDialog Component in C#

  • Help to run a common dialog box with a default owner.

Namespace:  System.Windows.Forms

Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)


  • Syntax for ShowDialog

FileDialog.FileName PropertyWorking of SaveFileDialog Component in C#

  • Help to sets a string containing the file name selected in the file dialog box.
  • Syntax

RichTextBox ClassWorking of SaveFileDialog Component in C#

  • Help to represent a windows rich text box.
  • Syntax

RichTextBox.SaveFile Method (String, RichTextBoxStreamType)

  • Help to saves the contents of the RichTextBox to a specific type of file.
  • Parameters

Path – The name and location of the file to save.

File Type – One of the RichTextBoxStreamType values.

Working of SaveFileDialog Component in C#Complete Code

 Working of SaveFileDialog Component in C#

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">