How to recover the name of the open file of a richtextbox?
here the example to record the modifications of the file.
//// code////
Public Sub SaveFile()
rtbdoc.SaveFile(System.Environment.GetFolderPath _
(System.Environment.SpecialFolder.Personal) _
& "\Testdoc.rtf" , _
RichTextBoxStreamType.RichText)
End sub
I would like to replace "testdoc.rtf" by the open file
Thank you