我找过的资料都是说COM是DLL的形式时的调用方法。
究竟COM是EXE的形式时应该如何调用呢?
另一方面,ASP.NET是否可以都调用我这个COM的同一个实例呢?

解决方案 »

  1.   

    试试用javascript new ActiveXObject
      

  2.   

    或者能否添加引用呢,我也么试过,学习ing
      

  3.   

    Did you try System.Diagnostics.Process.Start()?
     
      

  4.   

    hope this help for you.
    http://dev.csdn.net/develop/article/29/29874.shtm
      

  5.   

    Please try to do this,but I never test,regard...:object[] params = new object[]{your params list}
    Type yourExe;
    object yourExeObject;
    yourExe = Type.GetTypeFromProgID("YourProgID");
    yourExeObject = Activator.CreateInstance(yourExe);
    yourExe.InvokeMember("yourExeMethod",BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetField,null,yourExe,yourparams);