|
-
Oct 13th, 2000, 04:32 PM
#1
Thread Starter
New Member
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
-
Oct 13th, 2000, 05:02 PM
#2
Fanatic Member
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
-
Oct 15th, 2000, 04:28 PM
#3
Fanatic Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|