-
Can I search a webpage through my browser? For example, I want my program to login into a webpage and return into a text file the amount of new messages I have. (I basically need it to post into my text file a specific line of information from the html) I really don't want to go into sockets right now. Is there an easy way to do this? Please help
-
Read the WebBrowser and then search through each word using this code.
Code:
Private Sub Command1_Click()
Dim vArray As Variant
Dim iArray As Integer
Dim sArray As String
Dim MyString As String
MyString = WebBrowser1.Document.documentElement.innerHTML
vArray = Split(MyString, " ")
For iArray = 0 to UBound(vArray)
sArray = vArray(iArray)
If sArray = "404" Then Msgbox "Document not found": Exit For
Next iArray
End Sub
Don't know if this'll work, but it should.