Click here to Skip to main content
15,891,936 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# application obtain results of program it executes Pin
Mycroft Holmes1-Sep-12 13:54
professionalMycroft Holmes1-Sep-12 13:54 
I never really liked console apps, here is what I would do.

Create a windows forms app that will allow you to input information, a button and a display control.
The input will be specific to our needs and set the defaults to the test information.
The button will call the method you use in the console app
The output (I usually use a listbox ot a textbox) will take the output you are currently using.

I find this the easiest way to debug an console app that has been snaffled from the interweb. Make sure you keep all your processing (the console methods) in a seperate class as it is then easy to create a library class from that (as jschell suggested).
Never underestimate the power of human stupidity
RAH

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 
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 
AnswerRe: C# console log file Pin
PIEBALDconsult1-Sep-12 17:44
mvePIEBALDconsult1-Sep-12 17:44 
QuestionC# 2008 dynamic path Pin
sc steinhayse1-Sep-12 6:36
sc steinhayse1-Sep-12 6:36 
AnswerRe: C# 2008 dynamic path Pin
PIEBALDconsult1-Sep-12 7:03
mvePIEBALDconsult1-Sep-12 7:03 
GeneralRe: C# 2008 dynamic path Pin
sc steinhayse1-Sep-12 7:09
sc steinhayse1-Sep-12 7:09 
GeneralRe: C# 2008 dynamic path Pin
PIEBALDconsult1-Sep-12 7:26
mvePIEBALDconsult1-Sep-12 7:26 
GeneralRe: C# 2008 dynamic path Pin
Mycroft Holmes1-Sep-12 13:43
professionalMycroft Holmes1-Sep-12 13:43 
QuestionSelect next control if control is in groupbox? Pin
GrooverFromHolland1-Sep-12 0:47
GrooverFromHolland1-Sep-12 0:47 
AnswerRe: Select next control if control is in groupbox? Pin
OriginalGriff1-Sep-12 1:47
mveOriginalGriff1-Sep-12 1:47 
GeneralRe: Select next control if control is in groupbox? Pin
GrooverFromHolland1-Sep-12 5:35
GrooverFromHolland1-Sep-12 5:35 
AnswerRe: Select next control if control is in groupbox? Pin
Eddy Vluggen1-Sep-12 3:36
professionalEddy Vluggen1-Sep-12 3:36 
AnswerRe: Select next control if control is in groupbox? Pin
BillWoodruff3-Sep-12 15:38
professionalBillWoodruff3-Sep-12 15:38 
QuestionExperimentation - Would Like Feedback Pin
Matt U.31-Aug-12 9:59
Matt U.31-Aug-12 9:59 
AnswerRe: Experimentation - Would Like Feedback Pin
SledgeHammer0131-Aug-12 10:52
SledgeHammer0131-Aug-12 10:52 
AnswerRe: Experimentation - Would Like Feedback Pin
ekolis31-Aug-12 11:26
ekolis31-Aug-12 11:26 
AnswerRe: Experimentation - Would Like Feedback Pin
Ravi Bhavnani31-Aug-12 12:36
professionalRavi Bhavnani31-Aug-12 12:36 
AnswerRe: Experimentation - Would Like Feedback Pin
OriginalGriff1-Sep-12 1:53
mveOriginalGriff1-Sep-12 1:53 
GeneralRe: Experimentation - Would Like Feedback Pin
Matt U.6-Sep-12 7:29
Matt U.6-Sep-12 7:29 
GeneralRe: Experimentation - Would Like Feedback Pin
OriginalGriff6-Sep-12 7:58
mveOriginalGriff6-Sep-12 7:58 

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.