I have written my own control that inherits from the System.Windows.Forms Control object. It is basically something that had to be written in order for the developers I work with to plug a visually interactive interface into their apps. It is a lot like the WinForms treeview in appearance.
The Problem:
When ever anyone writes a control that inherits from this control, if they have the desinger open to view it and they build, the IDE crashes.
Does anyone have any clues as to what is happening here. I am sure it is something to do with me not understanding how to develop a control that is ment to be used by the desinger. Something with the componant model or something like that. I am reading all I can to figure it out, but if anyone has any clues where to look for the solution it may save me a lot of time.
Thanks
Isaac
--

Recompile causes IDE Crash
Sankar N
Isaac
--
FJK
very odd
I really don't know why, perhaps someone else can spot this. I was going to suggest to update your video card driver but i think this would be overkill and possibly uncalled for, but it doesnt hurt to do so :-)
Ill see if I can get an MSFT into this.
Quinn01
bennett1016
Bernie West
If I create a new project and compile it, it will not crash. If I add my custom control, compile, run it, It does not crash. The crash comes when I have the IDE open with the custom control in it, and then recompile the .DLL for the control. Then the IDE that is open with the custom control in the designer crashes. This also happens if I compile a inherited version of the control. So if I inherit the control to add some functionality, then build the project, the compiliation of the inherited control causes the IDE that has the control open in the designer to crash. Another thing that will cause it to crash on occasion is if I close the designer that has the control in it, if there were any changes made to it, it will crash. So basically what seems to be causing the crash is any change to the object that is being displayed in the designer. I think that I am doing some fudomental thing wrong that is required for design time support. This being my first control (basically from scratch) that is usable in the designer, it would not surprise me. I am currently looking/reading on the component model and serialization, it seems like it may be there
Isaac
--
Jean-Pierre Fouche
Isaac
--