Hi to all,

I'm having an error when trying to save the contents of richtextbox. But putting it a message box it works.
Error is: Unsupported file format .......

RichTextBox1.SaveFile(Application.StartupPath & "\" & Format(Date.Now.ToString("mmddyy hh:mm") & ".DAT"))

Can someone help me on this?
Thank you very much.