Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting VBA to work - ADCFocusCtrl..."Class Not Registered" error

4 REPLIES 4
Reply
Message 1 of 5
sjancski
806 Views, 4 Replies

Getting VBA to work - ADCFocusCtrl..."Class Not Registered" error

So i have managed to get my VBA apps working up to version 2010 (with the help of the AcFocusCtrl).  I just upgraded to AutoCAD 2012. For some reason I cannot get the ACFocusCtrl on my VBA userform.  When I try to drag it onto the userform, I get an error "Class Not Registered".  Can anyone help me out as to how I can load that control?  It has helped me before with the silly modal issues over the last few years.  PS: I cannot abandon VBA yet. I have to try and get this fixed!.

 

TIA

4 REPLIES 4
Message 2 of 5
Shawn_Niles
in reply to: sjancski

Have you made sure to load the Module that is needed for 2012? Please find it at the link below:

 

http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12715668&linkID=9240618



Shawn Niles
Message 3 of 5
sjancski
in reply to: sjancski

No luck. I reinstalled the 64 bit 2012 VBA add-on as you suggested. I can load the AcFocusCtrl in the toolbox within VBA. But when I try to add it to a userform, i get the "Class is not Registered" error.

 

Any other ideas?

Message 4 of 5
Marat.Mirgaleev
in reply to: sjancski

Sorry, it's a known issue - the control doesn't work on 2012 64-bit.

Sorry again.



Marat Mirgaleev
Developer Technical Services
Autodesk Developer Network
Message 5 of 5
raviP_ADSK
in reply to: sjancski

This issue has been fixed in AutoCAD 2012 Service Pack 1

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost