Unwanted console window appearing at app start?

R

Rob Pollard

Hi Folks,
I've just started programming with VC.net and have tried playing around
with forms and other controls. My programs work, except in one respect. A
console window appears before the main UI starts up. This console hangs
around for the duration of the Apps instance.
Is there a way to stop this console window from appearing?

Thanks

Regards
Rob Pollard

My Astro CCD page is:
http://www.robpol.demon.co.uk
 
C

Carl Daniel [VC++ MVP]

Rob said:
Hi Folks,
I've just started programming with VC.net and have tried playing
around with forms and other controls. My programs work, except in one
respect. A console window appears before the main UI starts up. This
console hangs around for the duration of the Apps instance.
Is there a way to stop this console window from appearing?

This occurs because you chose "Console Application (.NET)" as your project
type. Instead, you should choose "Windows Forms Application (.NET)" as your
project type.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top