Hi,
Here is the code I use to call a JavaScript a the page. So you can create a
function in JavaScript which will to the change on the form with the
arguments passed to it.
Dim MyWin As IHTMLWindow2 = PageForText.Document.parentWindow
MyWin.execScript("SetHTML(""" & HTML.Replace("""", "\""") & """);",
"javascript")
Mine was used with only one paramater, but you can do what you want.
You will need to have a reference to Interop.SHDocVw and AxInterop.SHDocVw.
(If you need those tell me I'll send 'em to you). These are for the old
browser version, but it's working really fine.
--
Thanks,
Jonathan Boivin
---
jo************@cints.net |
http://www.cints.net
"David A. Beck" <da****@beckb.coma écrit dans le message de news:
%2****************@TK2MSFTNGP03.phx.gbl...
>I need to enter data on a web page. I have been able to navigate using the
VB.NET WebBrowser control and see the contents of each page. What I need to
do now is to fill in the controls on the page with text and send an <enter>
key. If WebBrowser can't do this, does anyone know of a different managed
control that can do this?
Dab