1
votes

I created a base form (baseForm) which sets the color etc. for all the other forms. Then I created an other form, derived from baseForm, lets call it childForm. Now I want to derive an other form from this childForm, and thus inherit all the settings, buttons, etc from the childForm and baseForm. But after adding this new inherited form, derived from childForm, the only thing I see in design view is one large line of HTML code...

Does someone know an answer to this?

1
will you please provide more information ?Sonal Satpute
Well, this is all I can give, it describes my problem: I create a windows form in VisualBasic (baseForm). Then I created an other form (childForm), which is an inherited form from baseForm. No problem until now, I can design my form just as always in the design view. Now I created an other form (newForm), which is also an inherited form, but this newForm is inherited from childForm. When I want to design this form in the design view, I see this: <html><head><META HTTP-EQUIV="Content-Type.... and the rest of this HTML-code, instead of my form. But I want to see my form, so that I can design it.FJPoort
are you dealing with Web Form or WinForms ?Sonal Satpute
Build your solution and try again. i tried the same for winform and its working for me.Sonal Satpute
I did the clean and rebuild solution, but still this stupid HTML code... even rebooted my systemFJPoort

1 Answers

0
votes

The solution to this problem: In the childForm, which I tried to inherit, I used the LineShape from the Visual Basic Powerpacks [1]. Once I deleted these lines, the inheritenace was no problem... [1]: msdn.microsoft.com/en-us/vstudio/bb735936.aspx