我在VB中有一个代码。如何用C#编写它。此代码如下:
Set server = CreateObject("FaconSvr.FaconServer")
'Create the FaconServer object
server.OpenProject ("C:\Program Files\fatek\FaconSvr\Example\VB\DEMO.fcs")
'Open the project file(Demo.fcs)
答案 0 :(得分:0)
var obj = Activator.CreateInstance(Type.GetTypeFromProgID("FaconSvr.FaconServer"));