Hi everyone,
I'm getting these warnings when I go to build a Solidworks VSTA macro.
When I double-click the error message, it takes me to the SolidworksMacroStartup.vb file. It looks like this file is automatically generated when I create the macro using the template installed with Solidworks,
The status line says the build succeeded, but when I attempt to Run the Macro, I
I'm treating this like a configuration issue. Can anyone shed some light on why it's happening?
Thanks
John
SolidworksApi macros
don't waste your time with VSTA
I concur with
Thanks for the feedback. I'd be happy to do this using VBA except that it no longer supports the common dialog control and my current application requires the user to select an existing folder.
do you recommend VB.Net express edition instead?
Yes. I use VS Express 2013
I am having the same problem "Variable 'ppmk' is passed by reference before it has been assigned a value." in SolidWOrks 2016 VSTA VB macro and even a test macro with one line of code: MsgBox ("Hello") in the SolidWorksMacro Sub Main() is generating following error. Anybody has any idea what this could be and how do I solve it? Thanks.
Express version is fine as many here use it for writing add-in, not for .NET macro
You can use a windows API function call to get existing folder
here is the code
Thank you for that. That will come in handy