Ciao a tutti,
ho scritto questo codice:
Private Sub Text6_Change()
With WebBrowser3
url = "http://andrew4.altervista.org/pagina_01.php?username=" & Text6.Text & password
.Navigate url
While .Busy Or .ReadyState <> READYSTATE_COMPLETE
DoEvents
Wend
Set doc = .Document
Set txt = doc.getElementsByName("valore").Item(0)
End With
result = txt.Value
If result = "1" Then
If Form2.Text2.Text = Form2.Text3.Text Then
Form2.Label1.Caption = "frase"
Else
Form2.Visible = False
Form2.Height = 0
Form2.Show
Form2.Label1.Caption = "frase"
End If
End If
End Sub
questo codice comunica con una pagina php però quando avvio il programma non so perchè il debug mi restituisce questo errore:
Variabile o oggetto o variabile del blocco with non impostata.
Però non riesco a capire dov'è l'errore.