Entry
How can I make VB fill in files in a webbrowser control?
Oct 19th, 2006 03:21
Chad Currie, R S I, http://www.blogvoid.com/
You can't, at least not by setting the value of the form element the
same way as you would a normal text input box on a form.
When I've had to use a webbrowser control to do this, I've used
sendkeys to emulate the TAB and then paste the value I wanted into the
input box.
I believe this is for security reasons, for instance if you visited a
website and they could automatically fill in and submit a file from
your hard drive it would be a nightmare.