Displaying text

deadfish
03-06-2003, 11:01 AM
I need to display the content of a text file on the form. What kind of control should I use?? How to assign the text file to it?

Thanks!

Flyguy
03-06-2003, 11:09 AM
You can either use the Textbox control or the RichTextBox control.
For File IO look the following statements in the help:
Open, Close, Line Input, Eof

deadfish
03-06-2003, 07:24 PM
I am now using the TextBox control...but I don't know how to assign the text file name to it...

deadfish
03-06-2003, 07:51 PM
I got what I want by using RichTextBox control. Thanks Flyguy.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum