Professional Documents
Culture Documents
Código:
Imports System.Windows.Forms
End Sub
End If
End Sub
End If
End Sub
End Sub
End Sub
If (SaveFileDialog.ShowDialog(Me) =
System.Windows.Forms.DialogResult.OK) Then
Dim FileName As String = SaveFileDialog.FileName
' TODO: agregue código aquí para guardar el contenido
actual del formulario en un archivo.
n = FileName
RichTextBox1.SaveFile(FileName,
RichTextBoxStreamType.PlainText)
End If
Else
RichTextBox1.SaveFile(n, RichTextBoxStreamType.PlainText)
End If
End Sub
End If
End Sub
End Sub
End Sub
End Sub
End Class