I'm trying to make a Highscores look up.. and i have no idea how to
Can anyone help me?
Covey, i know you have experience with this, mind lending a hand?
That's what i have been given from searching the net, but none of it works..
Can anyone help me?
Covey, i know you have experience with this, mind lending a hand?
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strlines() As String
Dim strElemnts() As String
Dim textboxIndex As Integer
textBoxIndex = 0
strLines = Split(Inet1.OpenURL("http://hiscore.runescape.com/index_lite.ws?player=" & User.Text), Char(10))
If InStr(strLines(0), "Page not found") Then
MsgBox("User Not Found!") 'Edit this line if you want to change the error user not found message
GoTo TheEnd
End If
For i = 0 To Ubound(strLines)
strElements = Split(strLines(i), ","
If (strElements(x)) = "-1" Then strElements(x) = "NA" 'Edit this line if you want to change the error not in highscores message
TxtValue(textBoxIndex).Text = strElements(x)
textBoxIndex = textBoxIndex + 1
Next x
Next i
That's what i have been given from searching the net, but none of it works..


