Use System.IO.StreamReader class to establish connection to a text file. And then use System.IO.StreamReader class to read from the file and store into a string. Then parse the string into 3 different variables.
<pre>’Here’s how you’d get the first line
Dim FirstLine as String
Dim oFile as System.IO.File
Dim oRead as System.IO.StreamReader
oRead = oFile.OpenText(“C:\MyFile.txt”)
FirstLine = oRead.ReadLine()
I don’t have much time right now. <a href=”http://articles.techrepublic.com.com/5100-10878_11-6030362.html”>Check out this article for the rest.</a>