

CodePudding user response:
You first try reference CAD library, thenDim oCAD as AutoCAD. Application
The set oCAM=new AutoCAD. Application
See this line not line, if not, that is your machine didn't installed CAD,
If you can, then to CreateObject,
CodePudding user response:
You first try reference CAD library, then