Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solidworks 2013

Status
Not open for further replies.

braa0081

Mechanical
Jun 7, 2013
2
I just upgraded to solidworks 2013 and a macro that i have been using no longer is working. The macro is attached along with the error that i am getting. I did not write the macro. I can usually figure things out pretty quickly but this one has stumped me. any help would be great. Thanks.
 
Replies continue below

Recommended for you

I'm glad you like the macro... Since this is your first post on this forum, I'm curious as to where you came across it.

Unfortunately, it is a 32 bit macro. SolidWorks updated VBA to 64 bit with SW13. Most macros work fine. However, any with WinAPI calls need updating, and any that use 32 bit controls (such as this one) need to either use 64 bit versions (which don't exist for MS Common Controls) or rewrite to use another control.

Unfortunately, I don't know of a control that could easily replace the TreeView, so I don't have any plans to update it for now.

Sorry, I can't really help solve the problem right now... All I can do is give it a more detailed description! :)

-handleman, CSWP (The new, easy test)
 
Hi There. I really enjoyed the macro. Thanks for offering it up for public use. It worked great for what i was using it for. I actually came across it on this forum a while back. I was just lurking at that point.

What a bummer that that the controls don't exist for 64 bit. That is kind of what i assumed was happening since the listview was not showing up in the common controls.

Thanks again for the great macro at least for the short time that i was able to use it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor