I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

February Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi Single User Apps Topic   Print This     

How to Hide DOS Command prompt Window

How to Hide DOS Command prompt Window in Delphi Single User Apps topic (part of our Pascal and Delphi Coding group).

Quick Search: Command   How Hide   How Hide DOS   Command prompt  
kes103
-- USA
How do I hide the startup DOS Command prompt window?
I tried


procedure TForm1.formcreate(Sender: TObject);
var
start : TStartupInfo;
begin
start.wShowWindow := SW_HIDE;
end;


in my main form, but it makes no difference.

Thanks in advance.
 Posted 14 years ago (Thread Starter)
Comment Quote
About kes103 -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #11468, 2 replies
Thread Started 5/27/2006 2:09:00 PM
View Counter=5659
Last Reply Posted 6/7/2006 3:49:00 PM)
Location=-- USA 
Joined=14 years ago   MB Posts=5  
Wes Peterson
Prestwood IT
Prestwood IT office in Citrus Heights, CA
Can you tell us a little more about your application? I can't tell, from your message, where or why a command window would appear at all.

Wes Peterson
Senior Software Engineer
Prestwood IT Solutions
http://www.prestwood.com

 Posted 14 years ago
Comment Quote
About Wes Peterson -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Wes Peterson

Wes Peterson is a Senior Programmer Analyst with Prestwood IT Solutions where he develops custom Windows software and custom websites using .Net and Delphi. When Wes is not coding for clients, he participates in this online community. Prior to his 10-year love-affair with Delphi, he worked with several other tools and databases. Currently he specializes in VS.Net using C# and VB.Net. To Wes, the .NET revolution is as exciting as the birth of Delphi.


Post ID #11478 (Level 1.1)  Reply to 11468
Thread Started 6/6/2006 6:01:00 AM
View Counter=2
Location=Prestwood IT office in Citrus Heights, CA 
Joined=16 years ago   MB Posts=158   KB Posts=163   KB Comments=34   BLOG, Topics=20  
Most Recent Post
kes103
-- USA
I solved the problem by adding:


{$APPLTYPE GUI}


directive to the main program unit.
 Posted 14 years ago (Thread Starter)
Comment Quote
About kes103 -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #11482 (Level 1.2)  Reply to 11468
Reply Posted 6/7/2006 3:49:00 PM
Location=-- USA 
Joined=14 years ago   MB Posts=5  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1227A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #11468 Counter
5659
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech