User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,515 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,817 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 1742 | Replies: 4
Reply
Join Date: Sep 2007
Location: Colombo, Sri Lanka
Posts: 184
Reputation: eranga262154 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
eranga262154's Avatar
eranga262154 eranga262154 is offline Offline
Junior Poster

Solution Run a console application using GUI

  #1  
Oct 3rd, 2007
Hi all,

I have a console application, and I want to run it though a GUI. Its a simple GUI. Say there is a button called "Run", when I click the button need to execute the application do the task. Can you guys guide me to do it. I'm really new for C++ GUI developing.

Thanks,

Hi all,

I want to learn how to develop C++ GUI from the basis. So what are the resources(books, tutorials, etc). I use Microsoft Visual Studio .Net 2003.

Thanks.
Last edited by Ancient Dragon : Oct 3rd, 2007 at 10:16 am. Reason: same question asked twice
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: Best resource to leran C++ GUI developing

  #2  
Oct 3rd, 2007
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Dec 2005
Posts: 6
Reputation: blacklight is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
blacklight blacklight is offline Offline
Newbie Poster

Re: Run a console application using GUI

  #3  
Oct 3rd, 2007
To reply to the "tutorial" suggestion... um, I wouldn't suggest "plain WIN32 API" anymore as a good way to learn/develop GUIs. It's outdated and clunky to use, albeit its a good "low-level" way of understanding GUIs.

Visual C++ 2005 is free and easy to use. It combines the visual ease of development of "visual-basic-style" development with the underlying power and speed of C++. I don't know if that holds true in VC2003.


For the "run a console application" question, if you use the .net framework ; there is a helper object that may prove useful:

http://msdn2.microsoft.com/en-us/lib...s_members.aspx

You build such an object, initialize it with the application name you want to launch, then you read the output or the error messages.

but... do that kind of trick only when your basic GUI framework is built and you have more experience with objects.
Reply With Quote  
Join Date: Sep 2007
Location: Colombo, Sri Lanka
Posts: 184
Reputation: eranga262154 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
eranga262154's Avatar
eranga262154 eranga262154 is offline Offline
Junior Poster

Re: Run a console application using GUI

  #4  
Oct 4th, 2007
Thanks for all replays. Actually I'm looking for Visual Studio .Net related materials.
“victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha
Reply With Quote  
Join Date: Nov 2006
Location: Athens, Greece
Posts: 199
Reputation: n.aggel is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 9
n.aggel's Avatar
n.aggel n.aggel is offline Offline
Junior Poster

Re: Run a console application using GUI

  #5  
Oct 4th, 2007
i don't know how easy it to do this with Visual Studio and MFC...{from posting in this forum i am guessing that you don't do c++/cli...}

I had a simular problem for a university project and i ended up using qt framework... They have a free version and it is very easy to do what you asked i.e. run a console application through a gui interface...

PS:: qt also has a very supporting community check out this forum and an excellent tutorial...
Two roads diverged in a wood, and I— I took the one less traveled by, and that has made all the difference.

by Robert Frost the "The Road Not Taken"
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 4:00 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC