I kept promising myself I would write a post on how to expose a .NET assembly to COM without having to use RegASM.exe. Someone asked me today for the very code to do this, so I thought now would be as good as time as any to write my post. Microsoft provided a wonderful thing [...]
Archive for January 24th, 2005
Expose a .NET Assembly via COM – without RegASM.exe
Posted in Everything, Software Development, tagged C#, Code on January 24, 2005 | 3 Comments »
Visio 2003 IFilter and MTA
Posted in Everything, Software Development, tagged Code, Microsoft Office on January 24, 2005 | 10 Comments »
I recently had a problem instantiating the Visio 2003 IFilter from C#…. The following code instantiates an IFilter using COM Interop. The CLSID is obtained from the registry (method excluded for brevity) and then used to obtain the COM object type, the activator then instantiates the object from the type. I tested the code from [...]
