ive created a function for generating username, password, email to log in on a website but the problem is i want to use all account one at a time for example
num|username|email|passwd
1|username1|email@email1.com|password1
2|username2|email@email2.com|password2
3|username3|email@email3.com|password3
4|username4|email@email4.com|password4
5|username5|email@email5.com|password5
log in 1st acct ... do something then logout... then log in 2nd acct... do something then logout.... so on so fort...
heres my code function for generating random...
Public Sub GenerateNames1(ByRef file As String)
Dim Random As New Random
Dim RndmResult As Integer
RndmResult = Random.Next(2, 12)
'read random line
Dim Details As String = ReadLine(file, RndmResult)
Dim DetailsArray() As String = Details.Split("|")
uname = DetailsArray(1)
email = DetailsArray(2)
passwd = DetailsArray(3)
End Sub
how can i do it one at a time?
thx in advance! :D