Post a sample of what your input looks like.
If it's
USER:PASS
USER2:PASS2
USER3:PASS3
Then the following should work
I converted this with an online converter from C#, because Visual Basic has terrible syntax, so I can't verify if this is working.Code:Imports System Imports System**** Class Test Public Shared Sub Main() Try Using sr As StreamReader = New StreamReader("TestFile.txt") Dim line As String While sr.EndOfStream = False Dim tokens As String() = sr.ReadLine().Split(":") Dim username As String = tokens(0) Dim password As String = tokens(1) End While End Using Catch e As Exception Console.WriteLine("The file could not be read:") Console.WriteLine(e.Message) End Try End Sub End Class