Hello to all,
I would like to know if there is a way to use SW API in VB6 without loading SolidWorks.
For example, the following code works:
Const FileName = "F:\Assemblage_AB.SLDASM" Set swApp = CreateObject("SldWorks.Application") swApp.Visible (True) swApp.UserControl (True) Dependances = swApp.GetDocumentDependencies(Fichier, False, True)
However, it needs to load SW. Is there a way to avoid this?
It tried to remove the line with the CreateObject and use: Dependances = SldWorks.GetDocumentDependencies(Fichier, False, True, False)
However, I got an error.
Thank you for your help.
John H. Dewbert