C
cbuck
I am trying to use the following code snipet that
requires the msthml.dll:
IHTMLDocument2 hDoc2 = (IHTMLDocument2)WBrowser.Document;
string sHTML = "<HTML><BODY bgcolor=red>This is a
test.</BODY></HTML>";
object[] psa = {sHTML};
hDoc2.write(psa);
This will write html data into the IHTMLDocument2
object. On a system that has .Net Dev Studio, everything
works great. But when I try to run it on a system that
does not, the application locks up becuase of this code.
On systems with Dev Studio the mshtml.dll has a version
of 6.0.2800.1170, and the systems without dev studio have
6.0.2800.1106.
How do I update the systems to have the newer
6.0.2800.1170 version of this .dll? All systems have the
same framework version... so what do I do? I even tried
the regsvr32.dll but that didnt work. Any ideas? Thanks
in advance.
Craig Buck.
requires the msthml.dll:
IHTMLDocument2 hDoc2 = (IHTMLDocument2)WBrowser.Document;
string sHTML = "<HTML><BODY bgcolor=red>This is a
test.</BODY></HTML>";
object[] psa = {sHTML};
hDoc2.write(psa);
This will write html data into the IHTMLDocument2
object. On a system that has .Net Dev Studio, everything
works great. But when I try to run it on a system that
does not, the application locks up becuase of this code.
On systems with Dev Studio the mshtml.dll has a version
of 6.0.2800.1170, and the systems without dev studio have
6.0.2800.1106.
How do I update the systems to have the newer
6.0.2800.1170 version of this .dll? All systems have the
same framework version... so what do I do? I even tried
the regsvr32.dll but that didnt work. Any ideas? Thanks
in advance.
Craig Buck.