<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
  <channel>
    <title>HtmlEditor</title>
    <link>http://www.itwriting.com/phorum/list.php?3</link>
    <description><![CDATA[For discussion of the .Net HTMLEditor control]]></description>
    <language>EN</language>
    <pubDate>Mon, 08 Sep 2008 10:49:10 +0100</pubDate>
    <lastBuildDate>Mon, 08 Sep 2008 10:49:10 +0100</lastBuildDate>
    <category>HtmlEditor</category>
    <generator>Phorum 5.1.25</generator>
    <ttl>60</ttl>
    <item>
      <title>Re: Unable to call IHTMLWindow2.execScript()</title>
      <link>http://www.itwriting.com/phorum/read.php?3,898,4127#msg-4127</link>
      <author>kokman</author>
      <description><![CDATA[following code is in DempHtmlApp project:<br />
<br />
IHTMLWindow2 win = this.htmlEditor1.HtmlDocument2.GetParentWindow();<br />
                win.execScript(&quot;runscript();&quot;, &quot;javascript&quot;);<br />
It always hints an error: Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)<br />
<br />
pls help!<br />
-------------------------------------------------------<br />
Sacha Faust Wrote:<br />
-------------------------------------------------------<br />
&gt; I've been trying to load html in IE from a string<br />
&gt; buffer latelly and it works fine but something<br />
&gt; happens when you try to get an instance of the<br />
&gt; IHTMLWindow2 via the HTMLDocument.Scripts<br />
&gt; property.<br />
&gt; <br />
&gt; Using HtmlEditor I get the same problem, if you<br />
&gt; try to call in the IHTMLWindow2 , you get an<br />
&gt; exception related to an invalid handle.<br />
&gt; <br />
&gt; I only get that when I load HTMLDocument object<br />
&gt; from a buffer but if I use<br />
&gt; IE object Navigate call to a local resource , it<br />
&gt; works fine.<br />
&gt; <br />
&gt; Any idea what happens?]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,898,4127#msg-4127</guid>
      <pubDate>Mon, 08 Sep 2008 10:49:10 +0100</pubDate>
    </item>
    <item>
      <title>Re: Unable to call IHTMLWindow2.execScript()</title>
      <link>http://www.itwriting.com/phorum/read.php?3,898,905#msg-905</link>
      <author>Tim</author>
      <description><![CDATA[I've not tried this. Can you post some code that fails?<br />
<br />
Tim]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,898,905#msg-905</guid>
      <pubDate>Sun, 03 Aug 2003 15:19:31 +0100</pubDate>
    </item>
    <item>
      <title>Unable to call IHTMLWindow2.execScript()</title>
      <link>http://www.itwriting.com/phorum/read.php?3,898,898#msg-898</link>
      <author>Sacha Faust</author>
      <description><![CDATA[I've been trying to load html in IE from a string buffer latelly and it works fine but something happens when you try to get an instance of the IHTMLWindow2 via the HTMLDocument.Scripts property.<br />
<br />
Using HtmlEditor I get the same problem, if you try to call in the IHTMLWindow2 , you get an exception related to an invalid handle.<br />
<br />
I only get that when I load HTMLDocument object from a buffer but if I use<br />
IE object Navigate call to a local resource , it works fine.<br />
<br />
Any idea what happens?]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,898,898#msg-898</guid>
      <pubDate>Mon, 28 Jul 2003 20:45:33 +0100</pubDate>
    </item>
  </channel>
</rss>
