Tuesday, May 16, 2006

How To Read An Entire File In VB.NET

Dim EntireFile As String
Dim oFile As System.IO.File
Dim oRead As System.IO.StreamReader
oRead = oFile.OpenText("C:\tempo.txt")
EntireFile = oRead.ReadToEnd()

0 Comments:

Post a Comment

<< Home