SilverLight OOB模式与Com API交换的基础 和 C#编写Com 组件在SilverLight调用

    技术2022-05-20  53

     

    原文:

    1.SilverLight OOB模式与Com API交换的基础:http://www.silverlightchina.net/html/tips/2010/0722/1610.html  

     

    文章中操作调用的是COM组件,如果调用外部程序的话:可以用以下的方式:

     

    using (dynamic shell = AutomationFactory.CreateObject("WScript.Shell")) { shell.Run(@"C:/windows/notepad.exe"); //you can open anything shell.SendKeys(tbk1.Text); } 

    2. C#编写Com 组件在SilverLight调用:http://silverlightchina.net/html/tips/2010/0728/1652.html

     


    最新回复(0)