Problem with axwebbrowser control - cant access innerhtml or any elements
Posted on 2004-04-19
I have an axwebbrowser control in a form. I navigate to a page. I am interested in getting the html from that page into a string variable. For some reason, I cant use mypagedata = browser.Document.body.innerHTML like i would if it was a SHDocVw.InternetExplorer object. In fact, any attempt to access similar elements always seem to result in the system crashing - not only that but I cant even get an error message most of the time (no source code available for current location).
Looking for a solution to get this data into a variable. Also any documentation this object might be helpful.