Dear Friends ,
I want to send command to another running application in windows by .Net Desktop application. How can i send it can any one help me ?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted May 31, 2012, 12:48 AM EDT
Kunal VaishyaRank #990 · 2K reputationPosted May 31, 2012, 3:18 AM EDT
i want to do like Ms Word is Open in i want type something , set format and save as by Using .Net is it possible by this
VulpesRank #55 · 29.2K reputationPosted May 31, 2012, 5:25 AM EDT
There are always synchronization issues with stuff like this and you have to experiment with different delays when sending multiple keystroke combinations to give the application's UI time to react.
The following worked OK for me when I tried it just now:
For a list of keyboard shortcuts for MS Word see here:
http://support.microsoft.com/kb/290938