Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SSSamuel Schweighart24/03/2008
Hi,
I can't seem to get the SWDocMgr API working. It used to work, and I'm not sure what changed. Problem is independent of computer. Running Access 2007, and using VBA.
Dim swClassFact As SwDocumentMgr.SwDMClassFactory
Dim swDocMgr As SwDocumentMgr.SwDMApplication
Set swClassFact = CreateObject("SwDocumentMgr.SwDMClassFactory")
Set swDocMgr = swClassFact.GetApplication("")
The GetApplication command generates a '429' error: AciveX component can't create the object.
Any ideas?
Thanks!
Sam
I can't seem to get the SWDocMgr API working. It used to work, and I'm not sure what changed. Problem is independent of computer. Running Access 2007, and using VBA.
Dim swClassFact As SwDocumentMgr.SwDMClassFactory
Dim swDocMgr As SwDocumentMgr.SwDMApplication
Set swClassFact = CreateObject("SwDocumentMgr.SwDMClassFactory")
Set swDocMgr = swClassFact.GetApplication("")
The GetApplication command generates a '429' error: AciveX component can't create the object.
Any ideas?
Thanks!
Sam