VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VBA on AutoCAD 2012 64 bit?

23 REPLIES 23
SOLVED
Reply
Message 1 of 24
muckmailer
4935 Views, 23 Replies

VBA on AutoCAD 2012 64 bit?

VBA on AutoCAD 2012 64 bit?

I have recently upgraded form AutoCAD 2010 to AutoCAD 2012 (64 bit). I am using the 64 bit AutoCAD enabler. I noticed that my VBA routines on this new will not run properly. Text Field that I typed data into will not allow me to enter data. Is there a fast solution to this problem that does not envolve recoding? Thank you,
23 REPLIES 23
Message 21 of 24
muckmailer
in reply to: muckmailer

For short term the only solution I have is to convert my drawings to an older version of cad and

then run my rountines with the older version.  Yes AUTOdesk a down grade is a better option.

Why did AutoDesk put an VBA enabler in 2012 (64bit) if is does not work????

 

Still looking for a real short term solution

 

Waiting for advise.

 

Thank you

 

Message 22 of 24
muckmailer
in reply to: muckmailer

Would there be a way to set focus or to that form or tool box?

Maybe that is the problem?

Thank you,

Message 23 of 24
muckmailer
in reply to: muckmailer

Would there be a way to set focus or to that form or text box?

Maybe that is the problem?

Thank you,

Message 24 of 24
muckmailer
in reply to: muckmailer

I found it.

This will fix my problem.

  1. Open the Project window of the VBA IDE and select the project you want to add the form to.
  2. From the Insert menu, choose UserForm, and change the ShowModal property to False.
  3. Add the AcFocusCtrl (AcFocusCtrl.dll) to the Toolbox, and drag the control onto the form.

    The AcFocusCtrl keeps the focus on the form during user interaction.

Now is is time to find the next 64 bit issue

Thank you,

 

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

Post to forums  

Autodesk Design & Make Report

”Boost