|
-
Sep 14th, 2005, 01:22 PM
#1
Thread Starter
Frenzied Member
WebBrowser problem
I added a webbrowser component to my form, works fine. I have this:
VB Code:
Private Sub Command1_Click()
Text1.Text = wbP.Document.Forms(0).Item([B]?[/B]).Click
End Sub
Private Sub Form_Load()
wbP.Navigate "www.hotmail.com"
End Sub
What im looking to do is when i hit the button, i want it to automatically click on the 'Sign Up' box on www.hotmail.com (its on the left)
but i dont know the number of the item. It could be Item(1) Item(2) Item(3) - i don't know. Is there a way i can find what item number each link is, on the page?
-
Sep 14th, 2005, 04:01 PM
#2
Re: WebBrowser problem
If you have Firefox installed with all options, you can use the DOM Inspector to look at the underlying code in any web page.
I don't see a sign-up box, but maybe it's because there is already a cookie on my machine. I even tried to logout first, but then clicking Hotmail brings up a Sign-In dialog.
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
|