I noticed that there is a help file called swhtmlcontrolapivb6.chm which suggests that this API can be accessed from VB6. Are there any examples available?
I've tried to use some of the sample code but I can't get the objects to instantiate. I must be missing something...
Here is the bit of code I'm having trouble with:
Dim swClassFact As SwDocumentMgr.SwDMClassFactory
Dim swDocMgr As SwDocumentMgr.SwDMApplication3
Dim swDoc As SwDocumentMgr.SwDMDocument15
Dim swCfgMgr As SwDocumentMgr.SwDMConfigurationMgr
swClassFact = CreateObject("SwDocumentMgr.SwDMClassFactory") <== ERROR HERE: Method or data member not found
swDocMgr = swClassFact.GetApplication(sLicenseKey)
swDoc = swDocMgr.GetDocument(sDocFileName, nDocType, False, nRetVal)
swCfgMgr = swDoc.ConfigurationManager
SolidworksApi macros