Author Topic: 64 bit problem  (Read 4481 times)

0 Members and 1 Guest are viewing this topic.

calteq

  • Guest
64 bit problem
« on: September 12, 2013, 08:55:11 AM »
Hi

I have just upgraded to 64 bit PC windows 8 and Autocad 2010 and and am experiencing a problem with the forms.

The VB created in the 32 bit setup runs OK but the forms lose focus after every selection.

It now requires two clicks to activate any selection, one to focus the form and one for the selection.

This was not the case in the 32 bit setup.

Any suggestions will be gratefully received

Regards

Jeff_M

  • King Gator
  • Posts: 4087
  • C3D user & customizer
Re: 64 bit problem
« Reply #1 on: September 12, 2013, 10:07:30 AM »
Convert to VB.NET. VBA in the 64 bit environment can slow down everything inside AutoCAD.

calteq

  • Guest
Re: 64 bit problem
« Reply #2 on: September 14, 2013, 04:59:23 AM »
Thx

That's what I thought.

How difficult is that?

Jeff_M

  • King Gator
  • Posts: 4087
  • C3D user & customizer
Re: 64 bit problem
« Reply #3 on: September 14, 2013, 11:50:04 AM »
It does have a pretty steep learning curve, but once you get the hang of it it's not too bad. Start here: http://www.theswamp.org/index.php?topic=32381.0

calteq

  • Guest
Re: 64 bit problem
« Reply #4 on: September 15, 2013, 03:59:19 AM »
Thx

I've had a look at the AutoCAD .NET Developer's Guide and ADN DevTV: AutoCAD VBA to .NET Migration Basics and it seems to me to be overly complicated compared to vb.

http://download.autodesk.com/media/adn/VBA_Migration/DevTV_Recording/VBA_Migration.html
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html

What takes 5 or six lines of code in vba to draw an element now takes 3 times as much code to do the same thing.

If it's not broken why the change.

I might just live with the fact I have to click the form twice to activate a control rather than try to migrate the code with all the hidden unknowns.