<?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>Thu, 25 May 2006 15:52:37 +0100</pubDate>
    <lastBuildDate>Thu, 25 May 2006 15:52:37 +0100</lastBuildDate>
    <category>HtmlEditor</category>
    <generator>Phorum 5.1.25</generator>
    <ttl>60</ttl>
    <item>
      <title>Re: AccessViolationException</title>
      <link>http://www.itwriting.com/phorum/read.php?3,3042,3049#msg-3049</link>
      <author>Tim</author>
      <description><![CDATA[Right, so another interesting question is whether you still see the exception if you turn off &quot;break on win32 exceptions&quot;? <br />
<br />
The *safest* place to call LoadDocument is in the handler for ReadyStateChanged, after it indicates &quot;complete&quot;. In order to make sure that it fires, call LoadUrl(&quot;About:Blank&quot;) in your form's initialization routines.<br />
<br />
Having said that, it shouldn't be necessary. The HtmlEditor should manage this for you. Try it though...<br />
<br />
Tim]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,3042,3049#msg-3049</guid>
      <pubDate>Thu, 25 May 2006 15:52:37 +0100</pubDate>
    </item>
    <item>
      <title>Re: AccessViolationException</title>
      <link>http://www.itwriting.com/phorum/read.php?3,3042,3048#msg-3048</link>
      <author>Bob Lail</author>
      <description><![CDATA[&quot;Do I have code that is manipulating the document before it is ready?&quot;<br />
<br />
What would that look like?<br />
<br />
When should I call LoadDocument?<br />
<br />
Thanks, Tim.<br />
<br />
PS  I do break on win32 exceptions.  I could upload a sample app; but the error isn't reliable.  It occurs something like 10% of the time.]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,3042,3048#msg-3048</guid>
      <pubDate>Thu, 25 May 2006 15:00:50 +0100</pubDate>
    </item>
    <item>
      <title>Re: AccessViolationException</title>
      <link>http://www.itwriting.com/phorum/read.php?3,3042,3045#msg-3045</link>
      <author>Tim</author>
      <description><![CDATA[Can you reproduce the error in a simple app you can upload?<br />
<br />
Do you have code that is manipulating the document before it is ready?<br />
<br />
Is Visual Studio set to break on win32 exceptions? That can help to narrow it down.<br />
<br />
Tim]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,3042,3045#msg-3045</guid>
      <pubDate>Thu, 25 May 2006 10:02:49 +0100</pubDate>
    </item>
    <item>
      <title>AccessViolationException</title>
      <link>http://www.itwriting.com/phorum/read.php?3,3042,3042#msg-3042</link>
      <author>Bob Lail</author>
      <description><![CDATA[I have been getting AccessViolationExceptions for some time with the HtmlEditor.  I thought the problem was with mshtml, but they continue in the new version.  I think they are always thrown by the message loop of the form that owns the HtmlEditor.  They do not recur predictably.  What might I be doing wrong?<br />
<br />
Thanks!<br />
Bob<br />
<br />
<br />
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)<br />
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)<br />
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br />
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br />
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)<br />
   at System.Windows.Forms.Form.ShowDialog()]]></description>
      <category>HtmlEditor</category>
      <guid isPermaLink="true">http://www.itwriting.com/phorum/read.php?3,3042,3042#msg-3042</guid>
      <pubDate>Wed, 24 May 2006 13:29:27 +0100</pubDate>
    </item>
  </channel>
</rss>
