Re: How to put file contents to a text box?
Quote:
Originally Posted by Pentax
If you use a RichTextBox instead of a plain TextBox you can use the code:
Text1.Loadfile filename, rtf
' where filename is a string, containing tha full path and
' name, e g "C:\windows\mytext.txt"
It is fast, simple and it works for big files (up to two Gb, I think).
Pentax
Brilliant :bigyello: That works a treat, I was wondering how to get my file into a text box. An ordinary text box woouldn't have it. Thanks.
Re: How to put file contents to a text box?
you can use label to handle more content.