-
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
-
Code:
'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
-
Lyndon,
Sorry i couldn't reply to your e-mail (my server is down).
I think what your looking for is:
Code:
Private Sub Command1_Click()
WebBrowser1.Navigate "http://www.someplace.com"
Text1.Text = WebBrowser1.Document.Forms(0).NameOfField.Value
End Sub
Gl,
D!m