Explore BrainMass

Save the contents of the RichTextBox

Write the statements to save the contents of the RichTextBox named rtbCurrent. Display a SaveFileDialog named sfdCurrent to get the name of the file from the user. Create the necessary event handler that will execute when the user clicks the Save button to save the file in a rich text format.

Solution Preview

Public Class Form1

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
' Create a SaveFileDialog to request a path and file name ...