RichTextBox displays #@$%*&(
Posted on 2001-07-01
Hi, I'm using a richtextbox to display a word doc that I'm using for help files in my database application.
I have tried to bring up the file as a txt file but it wont show the cross referencing for the links in the file, I tried it as a word doc and it shows it as a lot of gibberish, I've tried it sa a rtfFile but I get the same gibberish.
My form load code is
Private Sub Form_Load()
Dim HelpFiles As Document
'Call the word document to the rich text box
rtfHelpFiles.LoadFile ("E:\Martial Arts Database\Martial Arts Database Help Files.rtf")
It displays the rtfFile with all the links in blue very well at design time, but at run time its gibberish.
I'm still searching for a clue but would appreciate some help.