Solved

how to speed up vba 64 bit version

Posted on 2016-08-10
2
23 Views
Last Modified: 2016-08-30
vba 32 bit runs fast but running same routine on 64 bit is extremely slow.  can I install vba enabler 32 bit on 64 bit application?
0
Comment
Question by:Cad Coder
2 Comments
 
LVL 51

Accepted Solution

by:
Bill Prew earned 500 total points (awarded by participants)
ID: 41751975
I noticed this question had gone unanswered for a bit so wanted to offer a little help.  But I have to say I am not a current AutoCAD user (used it a number of years ago), and don't have personal experience with your problem.  However as an expert interested in Windows and scripting in general I did a little research.

It sounds like when AutoCAD was ported to a 64 bit version that the way they had to approach VBA caused some major performance issues.  You already know that.  Looking on some of the Autodesk support sites it seems like you have a few choices.

(1) Uninstall AutoCAD 64 bit and install AutoCAD 32 bit.  This seems to reslove the VBA performance issue, but naturally other AutoCAD functions will be slower.

(2) Convert your VBA routines to VB.NET.  Performance will be great there, but there is a learning curve to get to VB.NET, and it is more complicated.

(3) Convert your VBA routines to Visual LISP.

Sorry there isn't a simple solutions, you may want to post on some of the AutoCAD specific support forums and see if you can get additional information and help there.  A few links below that might be helpful.

http://forums.autodesk.com/t5/autocad-civil-3d-general/vba-conversion/td-p/4523705
http://blog.jtbworld.com/2013/09/autocad-performance-issues-and-vba.html
http://www.cadtutor.net/forum/showthread.php?65966-VBA-on-AutoCAD-2012-64-bit

~bp
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now