ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MWMilan Wendl16/04/2018

Hello My SolidWorks Colleagues,

Today I did finally switched to SW 2018 SP2 from 2017 SP4.1 and I am getting unexpected problem with the following line of code which I was using for the many years for number of VBA functions without problem.

Dim swClassFact As SwDocumentMgr.SwDMClassFactory

Set swClassFact = CreateObject("SwDocumentMgr.SwDMClassFactory")

This line is giving me the error 429 ActiveX component can't create object. SwDocumentMgr.dll is registered and referenced.

I hope somebody has the solution for me.

Thank you very much.

Milan.