http://www.lennyworks.com/solidworks/default.asp?ID=20
I've downloaded this macro at various times/places and have neer had an issue using it, until today.
I am on SW2009 SP 5.1 x32, set up and ran on my machine fine.
The guy in the next cube is SW2009 SP5.1 x64 and the Macro fails to start, wont run or whtever term is correct.
Can this be as basic as the x32 vs x64?
If so, is there a way to get it to work on an x64 system?
Thanks in advance...
SolidworksApi macros
Have you firstly checked all the file references are OK from the VB IDE Tools->References... than none say Missing?
Luke Malpass
AngelSix (SolidWorks Tutorials and Books)
BatchProcess
On the machine in question (x64 System):
If I use the Edit Macro and try to open the Macro, nothing happens.
Period.
It doesn't do a thing.
Could there be Windows Components missing or not updated on this system that are required?
For many years, SolidWorks has used Microsoft's VBA (Visual Basic for Applications) language for creating and running macros in SolidWorks.
Microsoft's VB6 and VBA were written for 32bit operating systems. There is limited (if any) support for VB6 and VBA within 64bit Operating systems.
Microsoft's new Visual Studio Tools for Applications (VSTA) will work on both 32bit and 64bit operating systems.
This is the new "preferred" macro environment for SolidWorks users, especially for those users on a 64bit operating system.
I am currently learning more about programming in VB.NET and I will eventually be creating VSTA versions of many of my macros.
I just need to find the time.
I am also looking on posting an update on this issue in a future blog when i can find appropriate articles to link to and I can post some useful tips on converting macros from 32bit to 64bit.
Again, I just need to find the time.
If you have an immediate need, please let me know. I do not have any specific order to which macros get rewritten first. The order is primarily based on how simple the macro is.
Just tested on Win XP 64 bit SW2009 SP 5.1 machine and it worked perfect. Just one issue, macro form is always on top left side.
Lenny,
I would be willing to help convert the Macro's.
Lenny,
Long time listener, first time caller.
Opps, wrong place.
Anyway, thank you for the response.
I had figured it was something lacking on our end (usual cause).
No real hurry on this one, as I am the only one on 32 bit system at work, it works fine for me. The rest of the guys can do it individually.
Thank you again.