jvalescu
asked on
How to display console output in an ASP.NET textbox?
I have an ASP.NET (C#) webform that collects some data and passes it to a windows console program. I'd like to be able to keep the console window from popping up and display it's output in a window on my webform. Is this possible? At the very least, I'd like to get the output to display in the web page. Thank you!
ASKER
The console app is on the webserver, not the client pc. I've tested with a simple console app that displays "Hello World!" and using Response.Write(p.StandardO utput.Read ToEnd());, pops the console window for a second then displays "Hello World!" in the top left corner of my browser window. I'd like that to go to a text box on my page. Another acceptable solution would be to open another browser window for the output. Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've been looking at this too hard. Didn't even think about setting the textbox to the output. Duh!
Its web based but when browsed by client you can do all things that is done by desktop app. like registry modifying, call exe ..etc