Hi guys we have a program written in VB6. We have used it since autocad 2004 and just updated the references with each new autocad version. Until 2013. We use this to connect to autocad.
Set acApp = GetObject(, "AutoCAD.Application.19")
Currently we have a win xp 32bit with VB6 installed on it. And the program runs fine. But if we run the same program on our WIN 7 x64 computers it cannot find the autocad session. Keep in mind in ran fine on both computers with 2012 so I cant see it being a X32/X64 issue. But something it missing. Any ideas?
I have the same problem
I updated all the references and recompiled, but does not work on windows 7 64bit.
(I updated AutoCAD 2013 Type Library)
What is wrong?
I would try your line of code directly in VBA of AutoCAD 2103,. and see if it complies and runs in VBA.
Also check the object browser while in VBA "getobject", I have seen a few commands dropped or changed in different version of VBA.
Dim acapp As AcadApplication
Set acapp = GetObject(, "AutoCAD.Application.19")
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!