| View previous topic :: View next topic |
| Author |
Message |
waldoverkill
Joined: 22 Apr 2008 Posts: 2
|
Posted: Wed Jul 14, 2010 4:23 am Post subject: VBA from Excel |
|
|
Hi
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.
Warren |
|
| Back to top |
|
 |
caddit Moderator

Joined: 10 Jan 2008 Posts: 442 Location: Australia
|
Posted: Mon Jul 19, 2010 9:31 am Post subject: VBA CreateObject("ICAD.Application") error "c |
|
|
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. _________________ CAD Software Support
progeCAD Software Asia Pacific
Alibre Australia, PTC and MathCAD |
|
| Back to top |
|
 |
waldoverkill
Joined: 22 Apr 2008 Posts: 2
|
Posted: Mon Jul 19, 2010 7:50 pm Post subject: |
|
|
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.
Cheers
Warren |
|
| Back to top |
|
 |
|