このチュートリアルを試してみます
http://elegantcode.com/2010/02/20/silverlight-4-com-interop-and-the-cool-stuff-you-can-do-with-it/
メモ帳を開いてテキストをに送信する必要があります。私はこのコードを使用します:
using (dynamic shell = AutomationFactory.CreateObject("WScript.Shell"))
{
shell.Run(@"C:\windows\notepad.exe"); //you can open anything
shell.SendKeys(txtTextToSend.Text);
}
アプリケーションを開始すると、メモ帳が表示されましたが、テキストがありません。
何が間違っていますか。私のシステムはW764ビットです。ありがとう