Hi, Visual Studio 6 WebBrowser control had the ability to set a value and also to raise webevents like click eg: webbrowser1.Document(icur).All.Item(Text_Password_Field.Text).Value = Text_Password_value.Text webbrowser1.Document(icur).All.Item(42).Click Is there some way to do the same with .net WebBrowser control or any other ? because apparently WebBrowser doesn't has this methods anymore. Thanks Fernando
You can use the ActiveX control directly. The WebBrowser control is a wrapper around this control. -- Sheng Jiang Microsoft MVP in VC++ "Fernando" wrote in message news:ekoA6GVTIHA.5400@TK2MSFTNGP04.phx.gbl... > Hi, > > Visual Studio 6 WebBrowser control had the ability to set a value and > also to raise webevents like click eg: > > webbrowser1.Document(icur).All.Item(Text_Password_Field.Text).Value = > Text_Password_value.Text > webbrowser1.Document(icur).All.Item(42).Click > > Is there some way to do the same with .net WebBrowser control or any > other ? because apparently WebBrowser doesn't has this methods anymore. > > Thanks > Fernando
Jiang, Thanks for your prompt response. Is there any other free control to be used from .net ? Best Regards, Fernando Sheng Jiang[MVP] wrote: > You can use the ActiveX control directly. The WebBrowser control is a > wrapper around this control. >
You can use the microsoft.mshtml.dll PIA in your pia directory (typically C:\Program Files\Microsoft.NET\Primary Interop Assemblies) -- Sheng Jiang Microsoft MVP in VC++ "Fernando" wrote in message news:477E221E.6040504@gmail.com... > Jiang, > > Thanks for your prompt response. > > Is there any other free control to be used from .net ? > > Best Regards, > Fernando > > Sheng Jiang[MVP] wrote: > > You can use the ActiveX control directly. The WebBrowser control is a > > wrapper around this control. > >
I'm gonna try it Thank you Sheng Jiang[MVP] wrote: > You can use the microsoft.mshtml.dll PIA in your pia directory (typically > C:\Program Files\Microsoft.NET\Primary Interop Assemblies) >