progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#1174 by waldoverkill
Wed Jul 14, 2010 4:23 am

I have written an Excel VBA program to create some drawings in progecad 2010. It was working fine (windows 7 32bit). I have a new PC with Windows 7 64 bit and the program is crashing on this line

Set AppProgecad = CreateObject("ICAD.Application")

It is saying it cannot creat the object.

Is there a new application string that I need to use for 64bit?

Any help would be great.

#1180 by caddit
Mon Jul 19, 2010 9:31 am
Hello waldoverkill,

progeCAD VBA requires registration of ActiveX interface in core system registry. VBA uses this ActiveX interface to access the "intellicad" objects.

Did you ever run progeCAD on this PC as a full systems administrator? progeCAD must be run at least one time with full systems admin rights to complete the installation of the ActiveX registry. You might also try running your script in an admin session just to check.

Otherwise you may need to re-install progeCAD VBA as described HERE.

Please let me know if either of these steps help fix the issue for you.

#1181 by waldoverkill
Mon Jul 19, 2010 7:50 pm
Thanks for the reply.

I found that the registry entry for the AppID was missing. I added this manually to match one from another PC and it works now.

VBA worked within Progecad fine already. Progecad was just not registered.