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.

© BrainMass Inc. brainmass.com July 19, 2018, 8:46 pm ad1c9bdddf

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 ...