BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: How to store results from cmd line exe to TMemo?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
Yorai Aminov (TeamB)
Guest





PostPosted: Sat Jul 26, 2003 7:05 am    Post subject: Re: How to store results from cmd line exe to TMemo? Reply with quote



On 25 Jul 2003 16:41:56 -0700, "Lawrence Tse" <ltse@[no-spam]safe.com>
wrote:

Quote:
I know I can use ShellExecute to run my exe, but how can I grab the exe's output and send it into my TMemo?

Google is your friend. Take a look at:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3973EE8C.6F65B55E%40sonera.com
http://groups.google.com/groups?selm=3AF01061.78CD3C74%40eco-pro.ru
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3ad7598b_2%40dnews

---
Yorai Aminov (TeamB)
http://develop.shorterpath.com/yorai
(TeamB cannot answer questions received via email.)


Back to top
Peter Below (TeamB)
Guest





PostPosted: Sat Jul 26, 2003 9:46 am    Post subject: Re: How to store results from cmd line exe to TMemo? Reply with quote



In article <3f21c044$1 (AT) newsgroups (DOT) borland.com>, Lawrence Tse wrote:
Quote:
I know I can use ShellExecute to run my exe, but how can I grab the exe's output and send it into my TMemo?

spawning DOS/console apps with redirecton:

TRedirector http://www.pana.com/robert/Dcomp.html
TGUI2Console www.delphipages.com in the 'NonVisual' section
code example: http://www.prel.btinternet.co.uk/downloads/console.zip
http://www.delphi3000.com/articles/article_2112.asp
http://www.torry.net/tasks.htm, look for DosCommand

--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be




Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.