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

C#

 
GeneralRe: DriveInfoEx.dll is not working on client PC Pin
Vikash Yadav16-Feb-09 21:47
Vikash Yadav16-Feb-09 21:47 
QuestionThread error Pin
CodingLover16-Feb-09 20:34
CodingLover16-Feb-09 20:34 
AnswerRe: Thread error Pin
Kristian Sixhøj16-Feb-09 20:56
Kristian Sixhøj16-Feb-09 20:56 
QuestionDatagrid view binding to BindingSource Don't Display any thing Pin
sepel16-Feb-09 20:17
sepel16-Feb-09 20:17 
QuestionHow to run EXE by Coding in C# Pin
am 200916-Feb-09 20:05
am 200916-Feb-09 20:05 
AnswerRe: How to run EXE by Coding in C# Pin
V.16-Feb-09 20:23
professionalV.16-Feb-09 20:23 
GeneralRe: How to run EXE by Coding in C# Pin
am 200916-Feb-09 20:33
am 200916-Feb-09 20:33 
AnswerRe: How to run EXE by Coding in C# Pin
ABitSmart16-Feb-09 21:53
ABitSmart16-Feb-09 21:53 
Atul23 wrote:
Process proc = new Process();
proc.StartInfo.FileName = @"E:\test\testEXE\myprogram.exe";


proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.UseShellExecute = false;


And then,

Atul23 wrote:
procAStoCS.StartInfo.UseShellExecute = false;
procAStoCS.StartInfo.CreateNoWindow = true;

string str = @"E:\test\testEXE\myfile.cs";


procAStoCS.StartInfo.Arguments = str ;

procAStoCS.Start(); // Start

procAStoCS.WaitForExit();


what is procAStoCS ??

Edit - Assuming there was some typo in the code you shared. What happenes or doesnt happen when you run this code i.e. the exe doesn't fire or the parameter is not passed to it ? what does proc.Start return ?
GeneralRe: How to run EXE by Coding in C# Pin
am 200916-Feb-09 22:49
am 200916-Feb-09 22:49 
GeneralRe: How to run EXE by Coding in C# Pin
ABitSmart16-Feb-09 23:14
ABitSmart16-Feb-09 23:14 
GeneralRe: How to run EXE by Coding in C# Pin
am 200917-Feb-09 0:08
am 200917-Feb-09 0:08 
GeneralRe: How to run EXE by Coding in C# Pin
ABitSmart17-Feb-09 0:33
ABitSmart17-Feb-09 0:33 
QuestionHow to change the Application Directory path in Windows Explorer control Pin
jayalaxmit16-Feb-09 20:02
jayalaxmit16-Feb-09 20:02 
Questionfile type and size on disk Pin
mightygirls16-Feb-09 19:41
mightygirls16-Feb-09 19:41 
AnswerRe: file size and size on disk Pin
Mycroft Holmes16-Feb-09 21:17
professionalMycroft Holmes16-Feb-09 21:17 
Generalfile type and size on disk [modified] Pin
mightygirls16-Feb-09 21:44
mightygirls16-Feb-09 21:44 
GeneralRe: file type and size on disk Pin
Mycroft Holmes16-Feb-09 22:10
professionalMycroft Holmes16-Feb-09 22:10 
GeneralRe: file type and size on disk Pin
mightygirls16-Feb-09 22:18
mightygirls16-Feb-09 22:18 
GeneralRe: file type and size on disk Pin
Xmen Real 16-Feb-09 22:37
professional Xmen Real 16-Feb-09 22:37 
GeneralRe: file type and size on disk Pin
Wernight20-Sep-10 0:29
Wernight20-Sep-10 0:29 
GeneralRe: file type and size on disk Pin
Xmen Real 20-Sep-10 2:07
professional Xmen Real 20-Sep-10 2:07 
QuestionWork on with two VS projects Pin
CodingLover16-Feb-09 17:46
CodingLover16-Feb-09 17:46 
AnswerRe: Work on with two VS projects Pin
Christian Graus16-Feb-09 17:48
protectorChristian Graus16-Feb-09 17:48 
QuestionRe: Work on with two VS projects Pin
CodingLover16-Feb-09 17:49
CodingLover16-Feb-09 17:49 
GeneralRe: Work on with two VS projects Pin
Xmen Real 16-Feb-09 19:15
professional Xmen Real 16-Feb-09 19:15 

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.