A
Alfa & Omega
I have application that's using web browser (which is hidden in app but that's not the point).
At some stage of working in my application I have to check HTML of current page that's in browser .
I found that i can get HTML content by using:
(private AxSHDocVw.AxWebBrowser myWB
<CODE>
mshtml.HTMLDocumentClass doc = (mshtml.HTMLDocumentClass)myWB.Document;
string str = doc.IHTMLDocument2_body.innerHTML;
</CODE>
now i have in str HTML content of current apge BUT...On some mashines this doesn't work and I can't
figure out why, all is OK until it reaches first line of <CODE> (this with doc)...
I thouht it was problem in SP2...but it isn't because it works on som ecomps with SP2..
If anyone could give me idea why this wont work on some comps..
Thanks a lot!
BR
Igor
At some stage of working in my application I have to check HTML of current page that's in browser .
I found that i can get HTML content by using:
(private AxSHDocVw.AxWebBrowser myWB

<CODE>
mshtml.HTMLDocumentClass doc = (mshtml.HTMLDocumentClass)myWB.Document;
string str = doc.IHTMLDocument2_body.innerHTML;
</CODE>
now i have in str HTML content of current apge BUT...On some mashines this doesn't work and I can't
figure out why, all is OK until it reaches first line of <CODE> (this with doc)...
I thouht it was problem in SP2...but it isn't because it works on som ecomps with SP2..
If anyone could give me idea why this wont work on some comps..
Thanks a lot!
BR
Igor