Opening text file

seanvoth

Well-known member
Joined
Aug 5, 2006
Messages
58
Programming Experience
1-3
i have a text file called (phone) and i want to be able to show what ever is in there show in a texbox :confused:

Can This Even Be Done In vb.net
 
set the textbox multiline.
VB.NET:
textbox1.text=my.computer.filesystem.readalltext("c:\textfile.txt")
Do also explore the "Insert Snippet" feature of VB 2005, it will insert many common code fragments/sections/blocks/snippets of various categories into your code.
 
Back
Top