The Command Prompt during my Windows Forms Application

  • Thread starter Thread starter Visually Seen #
  • Start date Start date
V

Visually Seen #

Hey everyone,

Previously, about a month ago I posted a question asking how to remove
the command prompt that always appeared when I ran my Windows Forms
Application EXE.
Well, that was visually and all you hadd to do was to go to the output
type and set it to windows application.

How do I do it manually?
Is it something like:
this.OutputType = WindowsApplication;

?

Thanks,
Visually Seen #
 
Its a compiler switch:

csc /target:exe myapp.cs

produces an app with a console window attached

csc /target:winexe myapp.cs

produces one without a console window attached

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<[email protected]>

Hey everyone,

Previously, about a month ago I posted a question asking how to remove
the command prompt that always appeared when I ran my Windows Forms
Application EXE.
Well, that was visually and all you hadd to do was to go to the output
type and set it to windows application.

How do I do it manually?
Is it something like:
this.OutputType = WindowsApplication;

?

Thanks,
Visually Seen #


[microsoft.public.dotnet.languages.csharp]
 
Back
Top