View Single Post
Old Oct 27th, 2005, 12:55 AM   #4
ViOLATiON
Programmer
 
Join Date: Sep 2005
Posts: 58
Rep Power: 4 ViOLATiON is on a distinguished road
Quote:
Originally Posted by Ghost
What version of Visual Basic?

In VB.NET I believe:
FileStream file = new FileStream("C:\textfile.txt",FileMode.OpenOrCreate, FileAccess.Read)
StreamReader sr = new StreamReader(file)

Text1.Text = sr.ToString()
If it were VB.NET it would be in the VB.NET forum :p

I'm running VB 6
ViOLATiON is offline   Reply With Quote