Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i have to change system calculator value using win form application. when i was enter the value in text box after clicking button then set value in system calculator(calc.exe) if this application exits then then set this value to calculator.

Any one have idea to how to solve this.

Thanks.

What I have tried:

i have no idea to start this work. i have done R&D but i am not getting any proper way to find my solution .
Posted
Updated 14-Mar-17 2:37am
Comments
[no name] 14-Mar-17 8:36am    
You find the window for the calculator program to get the handle for the window and then you use SendMessage to send a message to the window to change the text.

1 solution

Here is an example of using SendMessage to do exactly that:
Working with Calculator through some other application in C#.net 2.0. - .Net Articles & Samples[^]
 
Share this answer
 

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