This is the discussion forum for the HtmlEditor. See also the
HtmlEditor home page, where you can download the control, and the
Documentation Wiki, a collaborative project for documenting the control.
Re: Periodic crash
Posted by:
Tim Anderson (81.255.3.---)
Date: Wednesday, 02-Apr-2003, 07:26:41
James,
I'd definitely like to fix any problems of this kind. The big question is where the exception is happening. If it is in managed code, it shouldn't be too hard to fix. If it is somewhere in mshtml it's much harder.
Are you able to reproduce the error within the vs.net IDE?
If you run, for example, the simple demo app in edit mode, does the problem occur?
If it's specific to your app, I'll gladly take a look if you email the code to me.
My view is that the editor needs to be very robust to be useful.
Tim
Re: Periodic crash
Posted by:
George Soules (---.greenmountainaccess.net)
Date: Friday, 11-Apr-2003, 13:03:18
Tim,
I'm having exactly the same problem. In addition to the "reference not set to an instance of an object" exception I have also gotten a System.OutOfMemoryException in system.windows.forms.dll.
I am developing on Win2K. I have subclassed htmleditor and have made one change to it: I added a TranslateURLStringOut property. When I started getting the exception today, it occurred when I clicked on a hyperlink.
Note that when I first started using htmleditor a few weeks ago, I was not seeing this problem at all. Then I made some changes to the hosting form and started seeing it randomly when I did a mousedown in a treeview on the same form. I made more changes to the hosting form and the problem went away entirely. Today I changed the form again and the problem came back.
Unfortunately, I see no pattern as to what kind of form changes are triggering or supressing the problem. If there's anything I can do to help, please let me know -- this control is excellent and I very much appreciate your providing it to all of us.
George