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 / .NET Framework / New Users / October 2004

Tip: Looking for answers? Try searching our database.

Any Way for Console Application to _not_ pop up CMD window?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Saunders - 18 Oct 2004 19:29 GMT
I'd like to be able to use simple console applications and have the
administrator schedule them via Scheduled Tasks. But every time they run,
the cmd window pops up. This happens even when the program produces no
output and prompts for no input.

Is there anything I can do short of creating a windows service to get around
this and have the window not show up?

-----
John Saunders
Imran Koradia - 18 Oct 2004 19:55 GMT
Just change the output type of the application from 'Console Application' to
'Window Application'. Its under:
Project --> <myproject> Properties --> Common Properties --> General -->
Output Type.

That will get rid of your console window and since you dont have any window
for the 'window application', it won't show any windows at all!

hope that helps..
Imran.

> I'd like to be able to use simple console applications and have the
> administrator schedule them via Scheduled Tasks. But every time they run,
[quoted text clipped - 6 lines]
> -----
> John Saunders
John Saunders - 18 Oct 2004 20:59 GMT
> Just change the output type of the application from 'Console Application'
> to
[quoted text clipped - 5 lines]
> window
> for the 'window application', it won't show any windows at all!

Clever! I'll try it.
Signature


-----
John Saunders


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.