Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 22:57
mveRichard MacCutchan14-Feb-13 22:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson15-Feb-13 2:21
adam.m.b.nelson15-Feb-13 2:21 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson3-Feb-15 6:11
adam.m.b.nelson3-Feb-15 6:11 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 6:35
mveRichard MacCutchan14-Feb-13 6:35 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 6:54
adam.m.b.nelson14-Feb-13 6:54 
AnswerRe: Send/Receive text to CMD from C# GUI Pin
Alan N14-Feb-13 7:32
Alan N14-Feb-13 7:32 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 7:48
adam.m.b.nelson14-Feb-13 7:48 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 8:23
adam.m.b.nelson14-Feb-13 8:23 
ok, I'm an embedded programmer, so that took me a little bit to wrap my head around. I don't think the problem is in the StudioCommandPrompt as I can't get my program to feed input to cmd.exe either. Below is a chunk of test code I put together to just test the connection all together, and it still outputs nothing.

C#
Process Temp = System.Diagnostics.Process.Start("CMD.exe");//, CommandText);
            
Temp.StartInfo.UseShellExecute = false;
Temp.StartInfo.RedirectStandardInput = true;
Temp.StartInfo.RedirectStandardOutput = true;
Temp.StartInfo.RedirectStandardError = true;
Temp.Start();
Temp.StandardInput.WriteLine("Test");
Temp.Close();

GeneralRe: Send/Receive text to CMD from C# GUI Pin
Alan N14-Feb-13 9:57
Alan N14-Feb-13 9:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
jschell14-Feb-13 11:44
jschell14-Feb-13 11:44 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson15-Feb-13 2:22
adam.m.b.nelson15-Feb-13 2:22 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
jschell15-Feb-13 8:57
jschell15-Feb-13 8:57 
Questionobject recognition Pin
manoj dhunelg14-Feb-13 2:42
manoj dhunelg14-Feb-13 2:42 
AnswerRe: object recognition Pin
Richard MacCutchan14-Feb-13 3:41
mveRichard MacCutchan14-Feb-13 3:41 
AnswerRe: object recognition Pin
Dave Kreskowiak14-Feb-13 6:14
mveDave Kreskowiak14-Feb-13 6:14 
Questionforcing users to use English language Pin
sina rafati nia13-Feb-13 21:23
sina rafati nia13-Feb-13 21:23 
AnswerRe: forcing users to use English language Pin
Manfred Rudolf Bihy13-Feb-13 22:29
professionalManfred Rudolf Bihy13-Feb-13 22:29 
AnswerRe: forcing users to use English language Pin
N a v a n e e t h13-Feb-13 22:30
N a v a n e e t h13-Feb-13 22:30 
GeneralRe: forcing users to use English language Pin
harold aptroot13-Feb-13 23:33
harold aptroot13-Feb-13 23:33 
AnswerRe: forcing users to use English language Pin
ali_heidari_14-Feb-13 5:55
ali_heidari_14-Feb-13 5:55 
AnswerRe: forcing users to use English language Pin
jschell14-Feb-13 11:46
jschell14-Feb-13 11:46 
Questionwebbrowser control in c# Pin
eldhose198513-Feb-13 18:28
eldhose198513-Feb-13 18:28 
AnswerRe: webbrowser control in c# Pin
N a v a n e e t h13-Feb-13 19:07
N a v a n e e t h13-Feb-13 19:07 
QuestionGridView FindControl LINQ Update Pin
RickSharp13-Feb-13 12:34
RickSharp13-Feb-13 12:34 
AnswerRe: GridView FindControl LINQ Update Pin
RickSharp13-Feb-13 12:43
RickSharp13-Feb-13 12:43 

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.