Results 1 to 2 of 2

Thread: WebBrowser problem

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,364

    WebBrowser problem

    I added a webbrowser component to my form, works fine. I have this:

    VB Code:
    1. Private Sub Command1_Click()
    2. Text1.Text = wbP.Document.Forms(0).Item([B]?[/B]).Click
    3. End Sub
    4.  
    5. Private Sub Form_Load()
    6. wbP.Navigate "www.hotmail.com"
    7. 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?

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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
  •  



Click Here to Expand Forum to Full Width