Hi @Pritesh dhameliya ,
Are you using this RichTextBox Class?
You could try to use the following codes as a workaround.
public void SaveFile()
{
// You should replace the bold file name in the
// sample below with a file name of your own choosing.
// Note the escape character used (@) when specifying the path.
richTextBox1.SaveFile(System.Environment.GetFolderPath
(System.Environment.SpecialFolder.Personal)
+ @"\Testdoc.rtf",
RichTextBoxStreamType.RichNoOleObjs);
}
For Reference: Save Files with the Windows Forms RichTextBox Control
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.