Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / December 2004

Tip: Looking for answers? Try searching our database.

Help with code generation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Slim Shady - 04 Dec 2004 15:50 GMT
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!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.