Hi
I am using a SaveFileDialog with an RichTextBox. I am trying to save what
is in the RTB as file type html. All I end up with is garbage.
Dim saveFile1 As New SaveFileDialog
saveFile1.Filter = "Html Files (*.html)|*.html|RTF Files (*.rtf)|*.rtf |"
If (saveFile1.ShowDialog() = System.Windows.Forms.DialogResult.OK) _
And (saveFile1.FileName.Length) > 0 Then
RichTextBox1.SaveFile(saveFile1.FileName,
RichTextBoxStreamType.RichText)
End If
Any suggestions?
Thanks
BrianDH