Click here to Skip to main content
14,832,909 members
Home / Discussions / C#
   

C#

 
QuestionWCF basic samples Pin
George_George4-Aug-08 22:38
MemberGeorge_George4-Aug-08 22:38 
AnswerRe: WCF basic samples Pin
led mike5-Aug-08 5:12
Memberled mike5-Aug-08 5:12 
GeneralRe: WCF basic samples Pin
George_George5-Aug-08 15:50
MemberGeorge_George5-Aug-08 15:50 
Questionuser control Pin
lankaudaranga4-Aug-08 22:24
Memberlankaudaranga4-Aug-08 22:24 
AnswerRe: user control Pin
Syed Shahid Hussain4-Aug-08 22:40
MemberSyed Shahid Hussain4-Aug-08 22:40 
GeneralRe: user control Pin
nelsonpaixao5-Aug-08 13:20
Membernelsonpaixao5-Aug-08 13:20 
GeneralRe: user control Pin
lankaudaranga5-Aug-08 19:27
Memberlankaudaranga5-Aug-08 19:27 
Questioninvalid path using process.start method Pin
stephan_0074-Aug-08 21:56
Memberstephan_0074-Aug-08 21:56 
hi everyone!

i do have a problem, which occours on some machines but not on every machine:

when using the process.start method, it throws the exception the path is invalid.

System.Diagnostics.Process process = Process.Start(startInfo);


the startinfo is
System.Diagnostics.ProcessStartInfo startInfo = new ProcessStartInfo();


then I add Arguments (startInfo.Arguments), a FileName (startInfo.Filename), set the UseShellExecute to true (startInfo.UseShellExecute = true) ,set the CreateNoWindow to true (startInfo.CreateNoWindow) to hide the window, then set the RedirectStandardOutput to false during one try and to true in another try (startInfo.RedirectStandardOutput = false or true) and then I reset the UseShellExecute to false (startInfo.UseShellExecute = false).
Finally I invoke the methode but it throws the exception described above.

Does anyone of you have an idea? i checked all the paths and they are correct (meaning those I used during assigning the parameters).

thanks.

Stephan.
AnswerRe: invalid path using process.start method Pin
Mogaambo4-Aug-08 22:08
MemberMogaambo4-Aug-08 22:08 
GeneralRe: invalid path using process.start method Pin
stephan_0074-Aug-08 23:26
Memberstephan_0074-Aug-08 23:26 
GeneralRe: invalid path using process.start method Pin
Mogaambo4-Aug-08 23:46
MemberMogaambo4-Aug-08 23:46 
GeneralRe: invalid path using process.start method Pin
stephan_0075-Aug-08 1:12
Memberstephan_0075-Aug-08 1:12 
GeneralRe: invalid path using process.start method Pin
stephan_0075-Aug-08 2:41
Memberstephan_0075-Aug-08 2:41 
GeneralRe: invalid path using process.start method Pin
stephan_0075-Aug-08 11:22
Memberstephan_0075-Aug-08 11:22 
AnswerRe: invalid path using process.start method Pin
astanton19785-Aug-08 2:50
Memberastanton19785-Aug-08 2:50 
QuestionWhy the error message like "Object reference not set to an instance" comes.. Pin
Samiullah4-Aug-08 21:46
MemberSamiullah4-Aug-08 21:46 
AnswerRe: Why the error message like "Object reference not set to an instance" comes.. Pin
Mogaambo4-Aug-08 22:09
MemberMogaambo4-Aug-08 22:09 
GeneralRe: Why the error message like "Object reference not set to an instance" comes.. Pin
Samiullah4-Aug-08 22:17
MemberSamiullah4-Aug-08 22:17 
GeneralRe: Why the error message like "Object reference not set to an instance" comes.. Pin
Vimalsoft(Pty) Ltd4-Aug-08 22:56
professionalVimalsoft(Pty) Ltd4-Aug-08 22:56 
GeneralRe: Why the error message like "Object reference not set to an instance" comes.. Pin
Samiullah5-Aug-08 1:14
MemberSamiullah5-Aug-08 1:14 
GeneralRe: Why the error message like "Object reference not set to an instance" comes.. Pin
AtulRane5-Aug-08 1:23
MemberAtulRane5-Aug-08 1:23 
Questionuser interacting windows forms Pin
prasadbuddhika4-Aug-08 21:30
Memberprasadbuddhika4-Aug-08 21:30 
AnswerRe: user interacting windows forms Pin
Syed Shahid Hussain4-Aug-08 22:49
MemberSyed Shahid Hussain4-Aug-08 22:49 
GeneralRe: user interacting windows forms Pin
prasadbuddhika6-Aug-08 21:56
Memberprasadbuddhika6-Aug-08 21:56 
QuestionResizing TextBox while resizing window Pin
Admin8874-Aug-08 21:16
MemberAdmin8874-Aug-08 21:16 

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.