N
namf
Hi,
I'm using an AxWebBrowser to load HTML documents, and at a step of the
process I'd like to access the atribbutes of the body of a page.
I'm trying to use something like this:
string onloadText =
((HtmlDocument)document).body.getAttribute("onload",0).ToString();
I expected this to give me the text on this attribute, but instead I
get a System.__ComObject.
What cast should I make?? I'have already tried
mshtml.IHTMLDomAttribute, but the value gives me the same
System.__ComObject..
any help would be greatly apreciated..
Tks in advance
Nuno
I'm using an AxWebBrowser to load HTML documents, and at a step of the
process I'd like to access the atribbutes of the body of a page.
I'm trying to use something like this:
string onloadText =
((HtmlDocument)document).body.getAttribute("onload",0).ToString();
I expected this to give me the text on this attribute, but instead I
get a System.__ComObject.
What cast should I make?? I'have already tried
mshtml.IHTMLDomAttribute, but the value gives me the same
System.__ComObject..

any help would be greatly apreciated..
Tks in advance
Nuno