kkkk
January 10th, 2002, 09:06 AM
Please someone to help me.How can i execute console .exe and get the result in string object
|
Click to See Complete Forum and Search --> : get result from .exe kkkk January 10th, 2002, 09:06 AM Please someone to help me.How can i execute console .exe and get the result in string object Arild Fines January 11th, 2002, 08:09 AM 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) Innocent January 11th, 2002, 01:32 PM ...or you could raise events and fetch them in another application. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |