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.
.NET 3.5 errors
Posted by:
Brian (---.cust.stargate.net)
Date: Friday, 14-Dec-2007, 13:54:09
Any chance this will be updated to work in .NET 3.5? when you try to run it and set the assembly to run under .NET 3.5 you get an error
Exception Information:
System.InvalidCastException: Specified cast is not valid. at System.Runtime.InteropServices.Marshal.GetIDispatchForObjectNative(Object o, Boolean onlyInContext) at System.Runtime.InteropServices.Marshal.GetIDispatchForObject(Object o) at onlyconnect.HtmlEditor.CleanupControl() in D:\Development\Benefits\Trunk\HtmlEditor\HtmlEditor.cs:line 563 at onlyconnect.HtmlEditor.OnHandleDestroyed(EventArgs e) in D:\Development\Benefits\Trunk\HtmlEditor\HtmlEditor.cs:line 279 at System.Windows.Forms.Control.WmDestroy(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at onlyconnect.HtmlEditor.WndProc(Message& m) in D:\Development\Benefits\Trunk\HtmlEditor\HtmlEditor.cs:line 250 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
when trying to close a form that had the HTML editor open on