burni
02-28-2004, 11:09 AM
Hi im new to VB.net and VB
Can someone please help, all i want to do is read in a value from a.rtf file, either into a textBox or a label. The .rtf file only has one word in it.
The problem is that all that is displayed is the end of the .rtf code
example
\par }}}
instead of the word in the file
I know normaly i would use:
FileOpen(1, Filename, OpenMode.Input)
Do While Not EOF(1)
Text = LineInput(1)
Fname.Text = Text
Loop
To read in all the text from a .txt file, but i cant figure out how to read in the text from an .rtf file
any help would be greatly appreciated
burni
Can someone please help, all i want to do is read in a value from a.rtf file, either into a textBox or a label. The .rtf file only has one word in it.
The problem is that all that is displayed is the end of the .rtf code
example
\par }}}
instead of the word in the file
I know normaly i would use:
FileOpen(1, Filename, OpenMode.Input)
Do While Not EOF(1)
Text = LineInput(1)
Fname.Text = Text
Loop
To read in all the text from a .txt file, but i cant figure out how to read in the text from an .rtf file
any help would be greatly appreciated
burni