crausch

crausch

  • NA
  • 53
  • 0

Problem with Browser in Window's form

Dec 5 2003 1:53 PM
I have a browser component placed in my Windows form. I have a reference to mshtml. All aspects of the browser (events, navigation, etc.) seem to work fine. I am creating an instance of the document as such: HTMLDocument myPage = (HTMLDocument) axWebBrowser1.Document; string oldPage = myPage.body.innerHTML; I am modifying the HTML and then writing it back to myPage.body.innerHTML. This works great on my PC and others that have the VS.NET IDE loaded. On other PC's that only contain the redistributible framework 1.1, the entire program works fine except the modification of the HTML as explained above. Has anyone experienced a similar problem? Is there some additional *.dll file I should include? ( I already include the AxInterop.SHDocVw.dll file). Perhaps there is a more efficient way to modify the HTML?

Answers (1)