Quick fix, Read text in a text box?

Posted by Tony C on Stack Overflow See other posts from Stack Overflow or by Tony C
Published on 2010-04-08T01:02:45Z Indexed on 2010/04/08 1:13 UTC
Read the original article Hit count: 426

Filed under:
|
|

I have a simple text reading code for Visual Basic:

Dim fileReader As String
fileReader = My.Computer.FileSystem.ReadAllText("C:\test.txt")
MsgBox(fileReader)

I have used this in the past, but I usually make the text display in a text box. I know this is sort of a "newb" question but I can't remember how to display the text in a textbox. If you guys could help me out that would be great!

© Stack Overflow or respective owner

Related posts about visual

Related posts about .NET