C#根据CLSID动态加载COM组件?
C#根据CLSID或progid动态加载COM组件?
------解决方案--------------------Microsoft.VisualBasic.Interaction.CreateObject( "ProgId "
------解决方案--------------------object jj;
Type ii;
ii=Type.GetTypeFromProgID( "test.test1 ");
jj=Activator.CreateInstance(ii);
ii.InvokeMember( "show ",System.Reflection.BindingFlags.InvokeMethod,null,jj,null);