Question

I am portingcode to Autocad 2014 on a Windows 8 Machine from Autocad 2000i on a Windows XP machine. (A big jump, I know).

When I attempt to run a vba command, It takes me to the VBA debugger and highlights this line and gives this error:

enter image description here

What can I do to fix this?

Was it helpful?

Solution

ADO is not available on 64-bit machines. Your VBA code will not work and you will have to port this to VB.NET. See this video from Autodesk for more help coming up with a workaround.

http://download.autodesk.com/media/adn/DevTV_VBA_Migration/english/DevTV_VBA_To_VBdotNet_Migration_English.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top