AllExperts > Experts 
Search      

C#

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More C# Answers
Question Library

Ask a question about C#
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Srini Nagarajan
Expertise
can answer any kind of questions in ASP.NET, C#, VB.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience
Contact me if you need any custom development on ASP.NET, ASP, Coldfusion, Powerbuilder
 
   

You are here:  Experts > Computing/Technology > C/C++ > C# > Process outputs

Topic: C#



Expert: Srini Nagarajan
Date: 11/1/2007
Subject: Process outputs

Question
Hi
I want to create a process that retrieves the output from external application.
I declared OutputDataReceived() event.
My problem is that the process exits after it starts.
How can I get the output string from an external application?

Thanks
Hagay


Answer
it's not possible to get the string when the application exists.. it will run in a different thread so the values are not possible to get it.. may be you can check each external application whether it will allow to dump the data before it exists..

-srini

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.