Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: obtain web service results Pin
BillWoodruff3-Sep-12 15:04
professionalBillWoodruff3-Sep-12 15:04 
QuestionC#: solved Pin
Hbr_Tha_real1-Sep-12 11:53
Hbr_Tha_real1-Sep-12 11:53 
AnswerRe: C# PinPopular
AspDotNetDev1-Sep-12 15:17
protectorAspDotNetDev1-Sep-12 15:17 
GeneralRe: C# Pin
Hbr_Tha_real1-Sep-12 21:25
Hbr_Tha_real1-Sep-12 21:25 
AnswerRe: C# Pin
Dave Kreskowiak1-Sep-12 18:47
mveDave Kreskowiak1-Sep-12 18:47 
GeneralRe: C# Pin
Member 26898653-Sep-12 21:33
Member 26898653-Sep-12 21:33 
GeneralRe: C# Pin
Member 26898653-Sep-12 21:34
Member 26898653-Sep-12 21:34 
GeneralRe: C# Pin
Pete O'Hanlon3-Sep-12 22:20
mvePete O'Hanlon3-Sep-12 22:20 
GeneralRe: C# Pin
Dave Kreskowiak4-Sep-12 2:08
mveDave Kreskowiak4-Sep-12 2:08 
QuestionSet a Value to Crystal Report Field using C# Pin
lesponce1-Sep-12 8:25
lesponce1-Sep-12 8:25 
AnswerRe: Set a Value to Crystal Report Field using C# Pin
Mycroft Holmes1-Sep-12 13:59
professionalMycroft Holmes1-Sep-12 13:59 
GeneralRe: Set a Value to Crystal Report Field using C# Pin
lesponce1-Sep-12 18:58
lesponce1-Sep-12 18:58 
QuestionC# application obtain results of program it executes Pin
dcof1-Sep-12 7:43
dcof1-Sep-12 7:43 
AnswerRe: C# application obtain results of program it executes Pin
Shameel1-Sep-12 8:23
professionalShameel1-Sep-12 8:23 
AnswerRe: C# application obtain results of program it executes Pin
dbaseman1-Sep-12 10:21
dbaseman1-Sep-12 10:21 
GeneralRe: C# application obtain results of program it executes Pin
jschell1-Sep-12 11:28
jschell1-Sep-12 11:28 
GeneralRe: C# application obtain results of program it executes Pin
dbaseman1-Sep-12 17:37
dbaseman1-Sep-12 17:37 
GeneralRe: C# application obtain results of program it executes Pin
jschell2-Sep-12 7:20
jschell2-Sep-12 7:20 
AnswerRe: C# application obtain results of program it executes Pin
Mycroft Holmes1-Sep-12 13:54
professionalMycroft Holmes1-Sep-12 13:54 
QuestionC# obtain results of program it calls Pin
dcof1-Sep-12 7:41
dcof1-Sep-12 7:41 
AnswerRe: C# obtain results of program it calls Pin
AmitGajjar1-Sep-12 16:19
professionalAmitGajjar1-Sep-12 16:19 
AnswerRe: C# obtain results of program it calls Pin
BobJanova3-Sep-12 1:36
BobJanova3-Sep-12 1:36 
Do you have access to the source of the console application? If so, include it in your new application and modify it accordingly so that it has methods you can call which return something or give you events.

If not: does it have an API specified that isn't just the command line? There may be public methods available which do what you want.

Finally, if you just have a console app and no other way into it, you can redirect its stdin, stderr and stdout and read its output from there. This is quite a fragile approach so it isn't something you should do unless you have to.

In this case you say that the console application is talking to a web service. Can't you just talk to the web service directly?
QuestionC# console log file Pin
dcof1-Sep-12 7:07
dcof1-Sep-12 7:07 
AnswerRe: C# console log file Pin
Dr.Walt Fair, PE1-Sep-12 7:39
professionalDr.Walt Fair, PE1-Sep-12 7:39 
AnswerRe: C# console log file Pin
AmitGajjar1-Sep-12 16:27
professionalAmitGajjar1-Sep-12 16:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.