摘要:
通过使用WScript.Shell 组件可以打开任何的应用程序
eg using (dynamic shell = AutomationFactory.CreateObject("WScript.Shell"))
{
shell.Run(@"C:\windows\notepad.exe"); //you can open anything
shell.SendKeys(txtTextToSend.Text);
}
阅读全文
posted @ 2010-08-15 11:36
davin
阅读(2290)
评论(2)
推荐(0)

浙公网安备 33010602011771号