Wow, I just run some of my old code on a 64bit and it runs fast. We have been delaying our OS upgrade to 64 bit due to our VBA code running unacceptably slow.
I am glad that Autodesk has had a change of heart. Is anyone as excited as me.!!!! I have been coding in .NET for two years now and I just learned that AutoCAD 2014 has fixed the issue with VBA 64bit.
Do you think that now VBA runs on 64bit that they intend to keep the support for it?
I ask because I prefer VBA IDE, but I have now dedicated couple of years programming in .NET . If VBA is staying I may switch back.
Solved! Go to Solution.
Hi,
>> I ask because I prefer VBA IDE, but I have now dedicated couple of years programming
>> in .NET . If VBA is staying I may switch back
My personal opinion: I would never switch back, especially when you already got known to dotNET-development.
1) up to now you have no guarantee that Autodesk continues the support for VBA (but much more focus on dotNET)
2) there are some conflicts with 32bit/64bit ActiveX-controls (e.g. some old Office controls) that makes it hard (or impossible) to run the same VBA-macro on VBA7/64bit (e.g. >>>click<<<)
3) Your VBA code does not run on systems that have not installed the VBA-enabler, while dotNET apps will always run.
4) dotNET code runs faster than VBA macros and you can go deeper into AutoCAD with dotNET
my 2c, - alfred -
Thank you Alfred.
You have very valid points. Now I am queries as to how much recourse Autodesk is currently dedicating towards the .NET vs. VBA.
I currently have thousands of code in VBA and I have been slowly and painstakingly trying to convert them to .NET . I go very exited for VBA 7.1 news. But I think I will utilize VBA 7.1 for my old code and take your advice for all future code.
Thank you again Alfred
-J
VBA implementation is the domain of Microsoft, not AutoDesk. At some point Microsoft could again decide to suspend further development and AutoDesk would have no choice but to follow suit as they did before. And, skills with dotNET are more readily transferrable to creating stand-alone EXEs for non-AutoCAD applications.