I have written a program in c# in visual studio 2010 professional , now i want to open a diifernt program like this :
if(e.result.text=="red") if this statement is true so i want
my windows calculator get open how i can do that do i need to give address of calculator in my program or what will be the syntax ,
please help i will be very thankfull to you.
Loading

VulpesRank #55 · 29.2K reputationPosted Jul 12, 2011, 1:10 AM EDT
System.Diagnostics.Process.Start("calculator.exe");
See here (http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx) for full documentation and examples.
Dinesh BeniwalRank #9 · 64K reputationPosted Jul 12, 2011, 1:05 AM EDT
Thanks
deepender singla111 reputationPosted Jul 12, 2011, 1:09 AM EDT
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted Jul 12, 2011, 2:26 AM EDT
deepender singla111 reputationPosted Jul 12, 2011, 5:45 AM EDT
System.Diagnostics.Process.Start("calculator.exe");