Hello!

Try this:

open "file.txt" for input as #1
text1.text=input(lof(1),#1)
close #1

this function loads whole text file to textbox, but beware... text files mustn't be larger than 64 Kb

------------------