Click here to Skip to main content
15,899,314 members
Home / Discussions / C#
   

C#

 
AnswerRe: StringBuilder error!! Pin
PIEBALDconsult2-Sep-12 12:47
mvePIEBALDconsult2-Sep-12 12:47 
AnswerRe: StringBuilder error!! Pin
Abhinav S2-Sep-12 17:27
Abhinav S2-Sep-12 17:27 
AnswerRe: StringBuilder error!! Pin
BobJanova3-Sep-12 1:32
BobJanova3-Sep-12 1:32 
GeneralRe: StringBuilder error!! Pin
Jassim Rahma3-Sep-12 10:08
Jassim Rahma3-Sep-12 10:08 
Questionobtain web service results Pin
dcof1-Sep-12 18:48
dcof1-Sep-12 18:48 
AnswerRe: obtain web service results Pin
Abhinav S1-Sep-12 21:18
Abhinav S1-Sep-12 21:18 
GeneralRe: obtain web service results Pin
dcof2-Sep-12 4:56
dcof2-Sep-12 4:56 
AnswerRe: obtain web service results Pin
Eddy Vluggen1-Sep-12 21:48
professionalEddy Vluggen1-Sep-12 21:48 
How did you plan on sending "commands" to a console-app?

dcof wrote:
Let me know how I can accomplish my goal with code and/or references.

Laugh | :laugh:


Aight.. easiest way would be to have the "commands" in a separate text-file. Makes it easy to modify, and you can loop the lines easily after reading all text.

The loop could use a Console.ReadLine to get a command (read it from the file later), use a switch to see what should be done, print the results to the console.

What type of command? Can you give an example with three commands? Do they have parameters?
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: obtain web service results Pin
dcof2-Sep-12 5:02
dcof2-Sep-12 5:02 
AnswerRe: obtain web service results Pin
Pete O'Hanlon1-Sep-12 23:19
mvePete O'Hanlon1-Sep-12 23:19 
AnswerRe: obtain web service results Pin
PIEBALDconsult2-Sep-12 5:44
mvePIEBALDconsult2-Sep-12 5:44 
GeneralRe: obtain web service results Pin
dcof2-Sep-12 11:49
dcof2-Sep-12 11:49 
AnswerRe: obtain web service results Pin
jschell2-Sep-12 7:38
jschell2-Sep-12 7:38 
GeneralRe: obtain web service results Pin
dcof2-Sep-12 12:02
dcof2-Sep-12 12:02 
GeneralRe: obtain web service results Pin
PIEBALDconsult2-Sep-12 12:52
mvePIEBALDconsult2-Sep-12 12:52 
GeneralRe: obtain web service results Pin
jschell4-Sep-12 11:08
jschell4-Sep-12 11:08 
GeneralRe: obtain web service results Pin
Member 26898653-Sep-12 21:32
Member 26898653-Sep-12 21:32 
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# Pin
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 

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.