很简单,不要用RichTextBox的Savefile方法,用Open 语句:
open "filename.htm" for output as #1
print #1,richtextbox1.text
close #1
这样得到的文件就是HTML文件了,试试吧!