|
-
Feb 22nd, 2000, 01:28 AM
#1
Thread Starter
Frenzied Member
How do i do it??
Thanks
Steve
-
Feb 22nd, 2000, 01:41 AM
#2
Try something like this:
Code:
Private Sub Command1_Click()
On Error Resume Next
With CommonDialog1
.Filter = "Rich Text Format (*.rtf)|*.rtf"
.ShowSave
If Err.Number = cdlCancel Then Exit Sub
RichTextBox1.SaveFile .FileName, rtfRTF
End With
End Sub
------------------
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819
-
Feb 22nd, 2000, 01:49 AM
#3
Thread Starter
Frenzied Member
That works good. Now is there a way to save it as html? When I tried it i got lots of numbers and letters in the browser. 
Steve
-
Feb 22nd, 2000, 01:55 AM
#4
Addicted Member
You can't just save it as RTF, you have to actually anylize the RTF code and convert it to HTML. Do a search for "RTF" at www.planetsourcecode.com and you'll find some code to do just that.
------------------
Micah Carrick
http://micah.carrick.com
[email protected]
ICQ: 53480225
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|