Hi,
I need to adapt this vb6 routine from B4J
i want to compare text from url into webview
source vb6:
thanks
I need to adapt this vb6 routine from B4J
i want to compare text from url into webview
source vb6:
B4X:
Private Sub CommandSend_Click()
Dim testo As String, p As Integer, cerca As String, I As Integer
Dim min As Integer, max As Integer
With WebBrowser1
.Silent = True
.Navigate "http://kerberos5.net63.net/hwid/hwid/HID3.php?id=" & Text1.Text
Do
DoEvents
Loop Until fine
testo = .Document.body.innertext 'here's' the entire web page in the form of plain text...
End With
cerca = "OK"
If Left$(testo, 2) = cerca Then 'I compare the message coming from WebBrowser
'MsgBox ("Done!"), vbInformation 'call my certificate function
Call crtlcert
Else
'MsgBox ("Invalid HWID!, please enter the correct code and try again")
End If
End Sub
thanks