VBA routine runs slow on certain PCs

VBA routine runs slow on certain PCs

dennis
Advisor Advisor
644 Views
1 Reply
Message 1 of 2

VBA routine runs slow on certain PCs

dennis
Advisor
Advisor

I have a large VBA routine, so cannot post it both due to length and "proprietary" reasons.  On my laptop I am running Win7 64bit, all updated.  AutoCAD 2015 is service packed up to 2.  The VBA routine is for AutoCAD 2015 and runs "inside" of AutoCAD, not an external program.  On my laptop it runs nicely, and when I take it to one of our training PCs, also with Win7 64 and AutoCAD 2015 it all runs fine.  I can run it from a local or network location.

 

However, on two brand new machines, both with Win7 64bit and fully update, and AutoCAD 2015 SP2, it runs terribly slow.  It seems to be sluggish due to the dialog box.  For example, when the user picks a button that "hides" the dialog so that the user can make selections, it takes about 30 seconds to get the cursor for selection.  As well, another example is when the user selects a toggle radial button, the update to the selected radial button takes about 30 seconds.  Happens if run from local or network.

 

As stated, this is not happening on my laptop nor on other PCs in our training room.  It is just sluggish on these two new PCs.  All checks appear that the installs are the same, same version of .NETFramework, same MS C++, all seems the same.

 

Any ideas of things for me to check?

0 Likes
Accepted solutions (1)
645 Views
1 Reply
Reply (1)
Message 2 of 2

dennis
Advisor
Advisor
Accepted solution

Well...nevermind...wasn't a problem with the code at all...it was the connection to the database. 

0 Likes