Diff between WebBrowser Component and AXWebBrowser

  • Thread starter Thread starter ESmith
  • Start date Start date
E

ESmith

I'm looking to user a web browser component in VS2005.

I like the functionality in the AXWebBrowser component (from ActiveX
controls page) that allows me to do this:

mshtml.HTMLDocument doc;

doc = (mshtml.HTMLDocument)this.SecureWebBrowser.Document;


mshtml.HTMLButtonElement ButtonTest =
(mshtml.HTMLButtonElement)doc.all.item("ctl00$CenterContent$ctl09$SignUp",
null);

ButtonTest.disabled = true;



Is this possible with the WebBrowser component that I can drop onto my
WinForm in VS2005 - I do not see that capability exposed - what are the
advances/disadvantages of each?



TIA!
 
Back
Top