GIDForums  

Go Back   GIDForums > Computer Programming Forums > CPP / C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 03-Mar-2008, 15:05
chebarbudo chebarbudo is offline
New Member
 
Join Date: Mar 2008
Posts: 2
chebarbudo is on a distinguished road

Quiet program


Sorry if my question is stupid, I'm a newbee. I'd like to know how to create a quiet program. I mean I don't want the DOS window to appear. I just want some instructions to be executed without any user interaction. How is this possible?
  #2  
Old 04-Mar-2008, 02:40
rajeev nair rajeev nair is offline
Junior Member
 
Join Date: Aug 2006
Posts: 97
rajeev nair is an unknown quantity at this point

Re: quiet program


Hi,

I guess you want to execute your application in hidden / invisible mode. Windows programming have different ways to hide the command window from showing on executing an application. Using ShellExecute you can specify your options while running an application.

Example:

ShellExecute(NULL, "open","myfile1.exe", NULL, NULL, SW_HIDE);

Regards,
Rajeev
  #3  
Old 05-Mar-2008, 01:27
chebarbudo chebarbudo is offline
New Member
 
Join Date: Mar 2008
Posts: 2
chebarbudo is on a distinguished road

Re: Quiet program


Thanks for the advice.
To avoide the black dos window, I created a windows application instead of a dos application (using Dev-C++).
Plus, I send all my commands with ShellExecute.
Works fine, my program is totally invisible.
Thank you Rajeev
  #4  
Old 05-Mar-2008, 01:38
rajeev nair rajeev nair is offline
Junior Member
 
Join Date: Aug 2006
Posts: 97
rajeev nair is an unknown quantity at this point

Re: Quiet program


You are most welcome..

Regards,
Rajeev
 

Recent GIDBlogFirst week of IA training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two-Tier data dissemination code installation problem nidhibansal1984 Computer Software Forum - Linux 6 16-Sep-2007 10:13
Text-Based Roulette Game mfm1983 CPP / C++ Forum 5 29-Nov-2006 12:20
BOOKEEPING program, HELP!! yabud C Programming Language 10 17-Nov-2006 03:48
Pipeline freeze simulation darklightred CPP / C++ Forum 6 27-Jul-2006 19:37
How to read particular memory location ? realnapster C Programming Language 10 10-May-2006 09:11

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:00.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.