Click here to Skip to main content
15,889,403 members
Home / Discussions / C#
   

C#

 
AnswerRe: Filling a cylinder Pin
Eddy Vluggen19-Mar-10 8:38
professionalEddy Vluggen19-Mar-10 8:38 
GeneralRe: Filling a cylinder Pin
Valeriant19-Mar-10 17:01
Valeriant19-Mar-10 17:01 
GeneralRe: Filling a cylinder Pin
Dave Kreskowiak19-Mar-10 18:25
mveDave Kreskowiak19-Mar-10 18:25 
GeneralRe: Filling a cylinder Pin
Eddy Vluggen20-Mar-10 1:00
professionalEddy Vluggen20-Mar-10 1:00 
GeneralRe: Filling a cylinder Pin
Valeriant20-Mar-10 2:27
Valeriant20-Mar-10 2:27 
GeneralRe: Filling a cylinder Pin
Eddy Vluggen20-Mar-10 3:58
professionalEddy Vluggen20-Mar-10 3:58 
GeneralRe: Filling a cylinder Pin
Valeriant21-Mar-10 5:00
Valeriant21-Mar-10 5:00 
QuestionHow do I 'drive' a command line utility beyond executing a single process / command? Pin
Mouldiwarp19-Mar-10 1:28
Mouldiwarp19-Mar-10 1:28 
Hi, this is my first post so hopefully I get everything in here that I need too.

Here is my problem, I have a command line utility that once running accepts commands / input before displaying results. To keep things simple I am starting to build my understanding using nslookup.

ALl the threads I have found so far relate to executing a command and capturing output, nothing about actually 'driving' a command line utility through the secondary input of commands / instructions.

Can someone help me out here... as mentioned, using nslookup as a sample utility I want to be able to:

- Launch the nslookup utility with no arguments or parameters (this I can do).

- At the point NSLookup returns the '>' prompt, I want to send some input / issue a command to the utility. For example www.codeproject.com.

- I want to capture the results / output of the execution so that I can analyse the text stream within my application, and retain enough control to submit a second instruction to nslookup (i.e. it doesnt exit until I choose to exit).

Any help greatly appreciated
AnswerRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
Calla19-Mar-10 1:52
Calla19-Mar-10 1:52 
AnswerRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
#realJSOP19-Mar-10 1:52
mve#realJSOP19-Mar-10 1:52 
AnswerRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
Luc Pattyn19-Mar-10 2:52
sitebuilderLuc Pattyn19-Mar-10 2:52 
GeneralRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
PIEBALDconsult19-Mar-10 3:56
mvePIEBALDconsult19-Mar-10 3:56 
GeneralRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
PIEBALDconsult30-Mar-10 14:04
mvePIEBALDconsult30-Mar-10 14:04 
AnswerRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
PIEBALDconsult19-Mar-10 3:53
mvePIEBALDconsult19-Mar-10 3:53 
GeneralRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
Mouldiwarp19-Mar-10 4:35
Mouldiwarp19-Mar-10 4:35 
GeneralRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
PIEBALDconsult30-Mar-10 14:00
mvePIEBALDconsult30-Mar-10 14:00 
GeneralRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
Mouldiwarp30-Mar-10 22:54
Mouldiwarp30-Mar-10 22:54 
AnswerRe: How do I 'drive' a command line utility beyond executing a single process / command? Pin
PIEBALDconsult5-Apr-10 13:54
mvePIEBALDconsult5-Apr-10 13:54 
QuestionUnformatted text in grid row when saved from rich txt box [modified] Pin
MathewPV19-Mar-10 0:56
MathewPV19-Mar-10 0:56 
AnswerRe: Unformatted text in grid row when saved from rich txt box Pin
Calla19-Mar-10 1:25
Calla19-Mar-10 1:25 
AnswerRe: Unformatted text in grid row when saved from rich txt box Pin
MathewPV19-Mar-10 1:34
MathewPV19-Mar-10 1:34 
GeneralRe: Unformatted text in grid row when saved from rich txt box Pin
Calla19-Mar-10 1:37
Calla19-Mar-10 1:37 
GeneralRe: Unformatted text in grid row when saved from rich txt box Pin
MathewPV21-Mar-10 18:57
MathewPV21-Mar-10 18:57 
QuestionFill string Array to Excel Pin
Mschauder19-Mar-10 0:09
Mschauder19-Mar-10 0:09 
AnswerRe: Fill string Array to Excel Pin
Dave Kreskowiak19-Mar-10 3:14
mveDave Kreskowiak19-Mar-10 3:14 

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.