Hi
I have installed Visual Studio before Solidworks
https://help.solidworks.com/2023/english/api/sldworksapiprogguide/GettingStarted/VSTA_2015.htm
But it is not activated in Solidworks. I cant save a macro in *.vbproj format. How can I activate it?
Did you see these notes?
Microsoft Visual Studio 2019 (Community, Professional, Premium or Enterprise version) must be installed in order to record, edit, or debug VB.NET and C# macros in SOLIDWORKS 2023 or later.
If you install a version of Microsoft Visual Studio that is later than 2015, you must ensure that a runtime version of Microsoft Visual Studio 2015 is also installed.
I have instslled visual studio 2022 and solidworks 2023.
I also install a module in this link
https://www.microsoft.com/en-us/download/details.aspx?id=58317
What is missing?
If you install a version of Microsoft Visual Studio that is later than 2015, you must ensure that a runtime version of Microsoft Visual Studio 2015 is also installed.
The link you attached was for 2019. The help says you need 2015.
https://www.microsoft.com/en-us/download/details.aspx?id=49031
Thank You
I installed these:
- https://www.microsoft.com/en-us/download/details.aspx?id=49031
- https://www.microsoft.com/en-us/download/details.aspx?id=48145
VSTA Still is not activated! Is it too late becuase I have already install my solidworks or sth else?
I also have this problem. Did you fix it yet?
Read this:
Basically, the SW macro functionality is hardwired to use a particular version of Visual Studio. For SW 2022, the required Visual Studio version was 2015. You cannot use a newer version. I haven’t tested 2023 or 2024, but I would be surprised if SW changed anything about this.