Console app with a windows form

darker080

Member
Joined
Dec 13, 2002
Messages
7
Hi,

how can i run a console app. in a windows form,

when i now run my console code, there is no screen output .

thx
 
The easiest way...
Start a new Windows Application then copy your Classes and Modules to that project.
 
You cant have both - the "console" or "windows exe" is a project property. Class Library is the other type.

If you wanted, you could have changed the project property though youd have to stub out the Main() yourself, to create the form. Or do as you did, which is probably easier if the project isnt too big. :)

-ner
 
Back
Top