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?




Reply With Quote