I am experimenting with a code generator that creates form class code in
vb language using the codedom. I have successfully created a form file
(.vb) and when looking at the code everything looks just as the vb
designer would create it......however when I open it in VS none of the
controls show up, they only show up when running. I am new to the
codedom so I suppose I must be leaving something out. Am I missing
something here....any ideas are appreciated.
joeycalisay - 06 Dec 2004 01:50 GMT
Form Designer by default looks for the InitializeComponent block and
executes it. If the controls are added to the form's constructor, it will
not be executed at design time. Browse this article:
http://www.urbanpotato.net/Default.aspx/document/1772
> I am experimenting with a code generator that creates form class code in
> vb language using the codedom. I have successfully created a form file
[quoted text clipped - 6 lines]
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!