|
-
January 10th, 2002, 10:06 AM
#1
get result from .exe
Please someone to help me.How can i execute console .exe and get the result in string object
-
January 11th, 2002, 09:09 AM
#2
Re: get result from .exe
Look into using the static call System.Diagnostics.Process.Start to run the process. This call will return a Process object, from which you can get at the StandardOutput property. Then read your string from this stream.
"My own view on religion is that of Lucretius. I regard it as a disease born of fear and as a source of untold misery to the human race. I cannot, however, deny that it has made some contributions to civilization. It helped in early days to fix the calendar, and it caused Egyptian priests to chronicle eclipses with such care that in time they became able to predict them. These two services I am prepared to acknowledge, but I do not know of any others." -- Bertrand Russell (From his essay Has Religion Made Useful Contributions to Civilization?, first published in 1930)
-
January 11th, 2002, 02:32 PM
#3
Re: get result from .exe
...or you could raise events and fetch them in another application.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|