Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
QuestionManaging Excel Sheets with C# Pin
dudedotnet25-Oct-07 0:11
dudedotnet25-Oct-07 0:11 
AnswerRe: Managing Excel Sheets with C# Pin
martin_hughes25-Oct-07 2:54
martin_hughes25-Oct-07 2:54 
QuestionCreating a word document using c# Pin
Fahim A Salim24-Oct-07 23:37
Fahim A Salim24-Oct-07 23:37 
AnswerRe: Creating a word document using c# Pin
Chintan.Desai25-Oct-07 2:03
Chintan.Desai25-Oct-07 2:03 
AnswerRe: Creating a word document using c# Pin
Paul Conrad27-Oct-07 12:32
professionalPaul Conrad27-Oct-07 12:32 
Question£ symbol in csv file for Excel - Encoding weirdness - HELP! Pin
Gizz24-Oct-07 23:27
Gizz24-Oct-07 23:27 
AnswerRe: £ symbol in csv file for Excel - Encoding weirdness - HELP! Pin
Guffa25-Oct-07 0:48
Guffa25-Oct-07 0:48 
Questionuse Process class on Mono? Pin
bug_aonz24-Oct-07 23:27
bug_aonz24-Oct-07 23:27 
I need to ping IP with linux commands "ping xxx.xxx.xxx.xxx" . and run it with Mono on Linux server.
Let's see my code...
Process P = new Process();
P.StartInfo.CreateNoWindow = true;
P.StartInfo.FileName = "ping";
P.StartInfo.RedirectStandardOutput = true;
P.StartInfo.Arguments = " 202.57.191.167";
P.Start();
P.WaitForExit();
string output = P.StandardOutput.ReadLine();
while (output != null && output!="")
{
    Console.WriteLine(output);
    output = P.StandardOutput.ReadLine();
    Thread.Sleep(500);
}
Console.ReadLine();


Then upload and run it,it throw exception...
 <br />
"Unhandled Exception: System.InvalidOperationException: UseShellExecute must be false when redirecting I/O.<br />
  at System.Diagnostics.Process.Start_shell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000]<br />
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000]<br />
  at System.Diagnostics.Process.Start () [0x00000]<br />
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()<br />
  at ProcessLinuxCommands.Program.Main (System.String[] args) [0x00000]"<br />


Could u help me what is this bug?
Does Mono implement the Process class?

thank =)
AnswerRe: use Process class on Mono? Pin
Stefan Troschuetz24-Oct-07 23:57
Stefan Troschuetz24-Oct-07 23:57 
QuestionHow to Cancel BindingNavigator event (AddItem) while BindingNavigator operates on two BindingSources Pin
azifaliazif24-Oct-07 23:19
azifaliazif24-Oct-07 23:19 
QuestionAsynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:04
Neeraj Kr24-Oct-07 23:04 
QuestionRe: Asynchronous Web Service Calls from Client Application Pin
MCEdwards24-Oct-07 23:13
MCEdwards24-Oct-07 23:13 
AnswerRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:24
Neeraj Kr24-Oct-07 23:24 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
MCEdwards25-Oct-07 0:39
MCEdwards25-Oct-07 0:39 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr25-Oct-07 0:49
Neeraj Kr25-Oct-07 0:49 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
MCEdwards25-Oct-07 1:26
MCEdwards25-Oct-07 1:26 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr25-Oct-07 2:30
Neeraj Kr25-Oct-07 2:30 
AnswerRe: Asynchronous Web Service Calls from Client Application Pin
Pete O'Hanlon24-Oct-07 23:23
mvePete O'Hanlon24-Oct-07 23:23 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:27
Neeraj Kr24-Oct-07 23:27 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Pete O'Hanlon24-Oct-07 23:37
mvePete O'Hanlon24-Oct-07 23:37 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Neeraj Kr24-Oct-07 23:41
Neeraj Kr24-Oct-07 23:41 
GeneralRe: Asynchronous Web Service Calls from Client Application Pin
Pete O'Hanlon25-Oct-07 1:05
mvePete O'Hanlon25-Oct-07 1:05 
QuestionHow to compare two nodes?? Pin
Sri_346424-Oct-07 23:02
Sri_346424-Oct-07 23:02 
AnswerRe: How to compare two nodes?? Pin
Christian Graus24-Oct-07 23:34
protectorChristian Graus24-Oct-07 23:34 
QuestionANONYMUS function call(javascript error) Pin
seth.dhawal24-Oct-07 22:53
seth.dhawal24-Oct-07 22:53 

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.