W
Will
Guest
Hello I wonder if you can help me.
What I have is a textbox on my form called "friendid". I have a web browser object and I have a button.
Now what I want to do is load up a website that has a form on it when I click a button e.g.<form> etc. and put in the textbox that is located on the webform the text that is in the friendid textbox on my vb form.
SO say for example I open up google in my web browser object, I want to put the text that is in my "friendid" textbox on my form into the textbox located on the google homepage and click submit.
I don't want to use sendkeys.send(vbtabs) etc. I want to use HTMLdocument. I need a list of instructions on how to do it. Please help me. Sorry if I seem a little confusing.
The code I have so far, or tried is:
Wbview1.Document.All("id").Value = friendid.Text
But it doesn't seem to work.
(Wbview1 is my web browser and "id" is the name of the textbox on the webpage.)
It keeps coming up with .value is not a member of the HTML element.
Its stressing me out, since it seems to be working with everybody else except me.
Please could anybody help me out.
Full stars for the best answer!
What I have is a textbox on my form called "friendid". I have a web browser object and I have a button.
Now what I want to do is load up a website that has a form on it when I click a button e.g.<form> etc. and put in the textbox that is located on the webform the text that is in the friendid textbox on my vb form.
SO say for example I open up google in my web browser object, I want to put the text that is in my "friendid" textbox on my form into the textbox located on the google homepage and click submit.
I don't want to use sendkeys.send(vbtabs) etc. I want to use HTMLdocument. I need a list of instructions on how to do it. Please help me. Sorry if I seem a little confusing.
The code I have so far, or tried is:
Wbview1.Document.All("id").Value = friendid.Text
But it doesn't seem to work.
(Wbview1 is my web browser and "id" is the name of the textbox on the webpage.)
It keeps coming up with .value is not a member of the HTML element.
Its stressing me out, since it seems to be working with everybody else except me.
Please could anybody help me out.
Full stars for the best answer!