1,105,221 Community Members

save as .rtf(rich text format) and retrive it(dispaly in rich text box)

Member Avatar
blocker
Posting Whiz
311 posts since Jan 2009
Reputation Points: -3 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

good day guys.!

I just want to know on how to save to a .rtf(rich text format) file the content of the rich text box created in vb6 with pictures & text. I also want to retrieve the content of the .rtf file being created and display it again in a rich text box in vb6. Would this be possible?

Thank you for giving time..

Gosd bless us all.

Member Avatar
vb5prgrmr
Posting Virtuoso
1,670 posts since Mar 2009
Reputation Points: 143 [?]
Q&As Helped to Solve: 299 [?]
Skill Endorsements: 3 [?]
 
0
 

Is there not a RTB.SaveAs or SaveFile or Save property? And if so, why have you not pressed F1 to read all about it? :)

Good Luck

Member Avatar
SCBWV
Junior Poster
125 posts since Apr 2007
Reputation Points: 29 [?]
Q&As Helped to Solve: 24 [?]
Skill Endorsements: 0 [?]
 
0
 

Use RichTextBoxName.SaveFile(pathname) and RichTextBox.LoadFile pathname. The default file format is RTF.

Member Avatar
blocker
Posting Whiz
311 posts since Jan 2009
Reputation Points: -3 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

thank you for the suggestion..Ive just solved this problem yesternight.

Question Answered as of 4 Years Ago by SCBWV and vb5prgrmr
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article