Load VBA and Automation Error

Load VBA and Automation Error

Anonymous
Not applicable
1,085 Views
2 Replies
Message 1 of 3

Load VBA and Automation Error

Anonymous
Not applicable
I've recently gotten a new workstation to replace my old one. Before the machine was brought to me .NET and Visual Source Safe were added. Autocad 2006 is our default CAD app. However, I am also testing Autocad 2008. This was installed later. In one day I had three things occur: 1. Autocad 2008 installed, 2. an ACAD automation programmer ran an extraction routine for testing (this should've been harmless), and 3. Shockwave had to be installed due to issues with the company screen saver we are forced to. The next day, I tried running one of our VBA programs and got the error "Automation Error Unspecified Error". I had ran things before and it worked fine. Now I can't run any application with the *.dvb extenstion (i.e. no VBA apps). The effect has even transferred over to Autocad 2006! Our system administrator has done an uninstall and reinstall of each and we are still experiencing problems! Help!!!
0 Likes
1,086 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Well, Autodesk doesn't make this clear, or even bother
to mention it, but you can't install 2 different releases
of AutoCAD on the same system without creating these
kind of problems with VBA macros.

In short, installing 2008 wiped out the COM registration
info for AutoCAD 2006 and overwrote the COM libraries
for 2006 (which are in the Autodesk Shared folder under
Program Files\Common Files).

So, the macros will not work in 2006 any longer without
a repair/reinstall, and the macros will not work in 2008
until you first open them in the VBA IDE, remove and
re-add references to the AutoCAD COM libraries and save
the DVB files.



--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

wrote in message news:5789308@discussion.autodesk.com...
I've recently gotten a new workstation to replace my old one. Before the machine was brought to me .NET and Visual Source Safe were added. Autocad 2006 is our default CAD app. However, I am also testing Autocad 2008. This was installed later. In one day I had three things occur: 1. Autocad 2008 installed, 2. an ACAD automation programmer ran an extraction routine for testing (this should've been harmless), and 3. Shockwave had to be installed due to issues with the company screen saver we are forced to. The next day, I tried running one of our VBA programs and got the error "Automation Error Unspecified Error". I had ran things before and it worked fine. Now I can't run any application with the *.dvb extenstion (i.e. no VBA apps). The effect has even transferred over to Autocad 2006! Our system administrator has done an uninstall and reinstall of each and we are still experiencing problems! Help!!!
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thank you for your reply earlier. We ended up reformatting the drive. Uninstalling/Reinstalling did not help. We even tried using system restore. As a last resort we reformatted. Everythings back the way it should now. So let's hope it stays that way.
0 Likes