Sunday, November 14, 2010

How to submit to a web form from a VB app?

Can some tell me how to submit to a web page which is in php and accepts the form post data to a variable, like $var = $_POST['name'], from a VB app.How to submit to a web form from a VB app?
Already did you try to use the control WEbbrowser?

for example (Using this Control)



Private Sub Command1_Click()

With WebBrowser1

.Visible = True

.Navigate ';http://login.live.com/login.srf?id=2%26amp;vv鈥?br>
Do While .Busy = True: DoEvents: Loop 'for that don't Bussy

.Document.f1.login.Value = ';tudireccion';

.Document.f1.passwd.Value = ';tupassword';

.Document.f1.SI.Click

End With

End Sub

No comments:

Post a Comment