Question on Axwebbrowser and textareas

sasquatch

New member
Joined
Oct 5, 2006
Messages
2
Programming Experience
Beginner
I am trying to automate a website. I have the axwebbrowser logging in just fine. Now I need to fill in a part of the form that is a TEXTAREA.
The normal code I use to fill in the regular TEXT boxes does not work, it produces and error.

Here is what I use for normal TEXT box entries.
AxWebBrowser1.Document.All("firstName").value = Me.txtFirstName.Text
AxWebBrowser1.Document.All("password").value = "mypassword"

but
AxWebBrowser1.Document.All("textareaname").value = "my text area" causes the application to crash. Obviously this is not the right code for loading a TEXTAREA.

Please help if you can. Thanks
 
Back
Top