Click here to Skip to main content
16,016,338 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
I am developing application with wpf(C#).
i want to open(run) windows calculator on button click event,
how can i do this?
thanks.
Posted

This should do the trick:

C#
System.Diagnostics.Process.Start("calc.exe");
 
Share this answer
 
Comments
niravsahayata 6-May-10 2:55am    
thanks...its working
Sagotharan Jagadeeswaran 19-May-11 6:57am    
ya its working.
my suggestion is,

System.Diagnostics.Process.Start("calc");
 
Share this answer
 
v2
Comments
lina9797 15-May-13 10:00am    
how to store result of this calculator in textbox of wpf form

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900