Home > Software engineering >  How to solve the problems about VB call CAD? System is Win10
How to solve the problems about VB call CAD? System is Win10

Time:11-08

 is the code I wrote in the picture, but call cad has been failed, would like to ask how to solve, thank you,

CodePudding user response:

You first try reference CAD library, then
Dim 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,
  • Related