Hello,
I inherited a VB6.0 program that uses the autocad dll for a series of tasks. I have been testing it with the AutoCAD 2012 reference, but everytime it reaches a line containing AcadApplication.ActiveDocument (ie: Call AcadApplication.ActiveDocument.SetVariable("ISAVEBAK", 0)) I got a 'Error Loading Type Library/DLL' message.
Is VB6.0 no more supported and I have to update the project to .Net or am I missing a dll file?
Thanks for your help,
Iker.
Sounds like VB does not find the right version of the type library used when creating the program, i.e. it looks for acax17???.tlb and does not find it because instead you have acax18???.tlb. Try obtaining the right version of the type library and placing it into the same folder where the current version is (should be C:\Program Files\Common Files\Autodesk Shared or something like that).
Jordi