ok here is my problem there is a webpage (gaming site) and i want to get how many players are playing the game right now it says right on the page but i cant seems to find a code that specificly finds the numbers of players ok if u go to
you will see on there main page it says all the game names and under them tells how many players playing that game so i have tired the split command in vb that doesnt work.....tried the search thing that doesnt work... any 1 here help me with code? plz... all i want is to get number of players of a game and show that in msgbox.... see picture below if u didnt under stand what i am saying
Private Sub Command1_Click()
Dim ff As Integer
Dim myArr() As String
ff = FreeFile
Open "c:\www.ijji[1].txt" For Input As ff
myArr = Split(Input(LOF(ff), ff), "<strong>")
MsgBox Mid$(myArr(4), 1, 2) ' assuming the number of players are 2 digits only.
Close ff
End Sub
I've attached the sample source from the website. I am in a rush buddy. You'll figure it out by yourself.