PDA

Click to See Complete Forum and Search --> : Navigating Web Sites


Lyndon37
Oct 13th, 2000, 04:32 PM
Hello
I have a Stock market project in which I need to be able to go into sites like priceline.com and place orders for sells and for buys. I want to be able to do this automatically without having to surf into the site Manually.
Does anyone know of a code example that could give me some insite into how to acomplish this.
Thank you

Dim
Oct 13th, 2000, 05:02 PM
'Use the WebBrowser control on your form.
'find the names of the input boxes on the site and on
'something like this.
WebBrowser1.Navigate "http://www.priceline.com"
WEbBrowser1.Document.Forms(0).NameOfInputBox.Value = "WalMart"
WebBrowser1.Document.Forms(0).NameOfOtherBox.Value = "100"
WebBrowser1.Document.Forms(0).SubmitButtonName.Click


Hope that helps,
D!m

Dim
Oct 15th, 2000, 04:28 PM
Lyndon,
Sorry i couldn't reply to your e-mail (my server is down).
I think what your looking for is:

Private Sub Command1_Click()
WebBrowser1.Navigate "http://www.someplace.com"
Text1.Text = WebBrowser1.Document.Forms(0).NameOfField.Value
End Sub



Gl,
D!m