Hi there,
I'm currently developing a usercontrol (HTML Editor) which uses AxDHTML (Com Object which comes bundled with IE) as Editor.
At VS.NET 2003 I hab no problems with the usercontrol or the Component but now I switched from .NET 1.1 to 2.0 and usercontrol causes problems.
At the designview of the usercontrol itself there are noproblems but the moment I try to use the control in another form the usercontrol itself isn't in designmode anymore and there there are errors like:
The Control caused an unhandles Exception in the designer!
or:
Windowless ActiveX Controls aren't supported!
I've already tried to recreate the InterOp Assemblies for the Component but this didn't help either.
How can I avoid this error at designtime? I thought of disabling the AxDHTML Control at designtime but as already mentioned the usercontrol isn't in designtime when I use it on another form.
I already thought of writing a customcontrol but I don't know how to Paint the Controls in the OnPaint Event.
If there are any solutions... post'em please.
Thx in Advance
Steve