Windows Develop Bookmark and Share   
 index > Windows Forms General > CodeDom & Winform
 

CodeDom & Winform

I have code that generates a winform via the codedom as an exe.  When I run the exe it starts from the console.  How can I make this run like a normal win exe?
MigrationUser 1  Thursday, February 13, 2003 1:44 PM
Compile it with the /t:winexe flag.

 - mike
MigrationUser 1  Thursday, February 13, 2003 9:44 PM
Sorry, I just re-read your original post.  You said you were using CodeDOM.  

You need to put that compiler argument in the CompilerOptions property on the CompilerParameters class.  

 - mike
MigrationUser 1  Thursday, February 13, 2003 9:49 PM

You can use google to search for other answers

Custom Search

More Threads

• Setting form culture
• doubleclick after mousedown
• Prohibit resizing of child windows??? C#
• transfer files between two application
• active x control
• DataGridView -- Hiding The Leftmost Column
• Combo box did not pick up the selection
• Use of application blocks?
• app control using only keyboard
• Textbox Jam