tomanderson12
Member
- Joined
- Jan 21, 2008
- Sythe Gold
- 0
- Messages
- 53
1. I can't choose User.text only:
User.Item
User.UBound
User.LBound
User.Count
I don't know which to choose, I did all of them but all of them contains:"Page not found" that msgbox shizzle
my code is:
User = Username here, I changed itCode:Private Sub Command1_Click() On Error Resume Next Dim strLines() As String Dim strElements() As String Dim textBoxIndex As Integer textBoxIndex = 0 strLines = Split(Inet1.OpenURL("http://hiscore.runescape.com/index_lite.ws?player=" & Username.UBound), Chr(10)) If InStr(strLines(O), "Page not found") Then MsgBox ("User not found!"), vbCritical, ("Error") GoTo TheEnd: End If For i = 0 To UBound(strLines) strElements = Split(strLines(i), ",") For X = 0 To UBound(strElements) If (strElements(X)) = "-1" Then strElements(X) = "N/A" txtValue(textBoxIndex).Text = strElements(X) textBoxIndex = textBoxIndex + 1 Next X Next i TheEnd: End Sub![]()
Because the "User" is a control array to refer to all of them it would be User(Index).Text









