Hey, I need to save the contents of a richtextbox to a file, and then the file should be saved as a .html file, and I don't need a dialog box, I don't know where I am going wrong
Code:
private void SaveToFile()
{
richTextBox1.SaveFile(@"C:\Users\Lloyd\Documents\newwebpage.html", RichTextBoxStreamType.PlainText);
}
Comment