How do i load a document onto a rtf? in the vbcodebook it asks the user to open it, i just want to open one that comes with the app... if you have any questions ask...
Thanks
Printable View
How do i load a document onto a rtf? in the vbcodebook it asks the user to open it, i just want to open one that comes with the app... if you have any questions ask...
Thanks
What are you using to make the document? Word or Wordpad can save to RTF.
I have Wordpad and i would use that to to save it as an RTF but how do i (line of code) load it up when the user presses the treeview
You have to use the Richtextbox. I think the .NET rtb still has methods to load/save rtf files if not then assign the rtf text to the rtf property of the Richtextbox.
I don't know wheter you've sorted this out, but try this:
I'll add this to the VBCodeBook :DVB Code:
RichTextBox1.LoadFile("<path and file>", RichTextBoxStreamType.RichText)
ok thanks nicky:p