文件操作:OpenFileDialog and RichTextBox

openfiledialog.name=opdrtf
richtextbox.name=rtfsample
我想在richtextbox里打开opdrtf打开的方件。
在sadrtf_fileok事件里,
我用rtfsample.loadfile(opdrtf.filename)
运行程序,出现“未处理异常,文件格式错误......”
posted @ 2004-12-17 17:40  squirrel_sc  阅读(351)  评论(1)    收藏  举报