How to add a new COM component ?

How to add a new COM Component?

I need to add some COM components which object libraries I have but they are not listed in the Xojo - > Insert ActiveX option, I tried to register the dll with regasm but it didn’t help.

In other compilers I simply browse to the file to add a reference, how can this be done in Xojo ?


They aren’t under the references tab? That’s where the ones I use can be found.
So Xojo, Insert, ActiveX Component, then switch to References Tab.

Have you tried to to use Microsoft’s “oleview” from Windows Server Resource Kit Tools: (Supports platform from: Windows XP)

Get the ProgramID of your applications from the OleView and apply that to “OLEContainer1.ProgramID” or OLEObject.Constructor(ProgramID as String)