Explore BrainMass

Save the contents of the RichTextBox

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

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 October 24, 2018, 10:47 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 ...