Hi
I have installed Visual Studio before Solidworks
https://help.solidworks.com/2023/englis ... A_2015.htm
But it is not activated in Solidworks. I cant save a macro in *.vbproj format. How can I activate it?
Activating solidworks VSTA
Re: Activating solidworks VSTA
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.
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 may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
Re: Activating solidworks VSTA
I have instslled visual studio 2022 and solidworks 2023.
I also install a module in this link
https://www.microsoft.com/en-us/downloa ... x?id=58317
What is missing?
I also install a module in this link
https://www.microsoft.com/en-us/downloa ... x?id=58317
What is missing?
Re: Activating solidworks VSTA
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/downloa ... x?id=49031
The link you attached was for 2019. The help says you need 2015.
https://www.microsoft.com/en-us/downloa ... x?id=49031
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
Re: Activating solidworks VSTA
Thank You
I installed these:
1) https://www.microsoft.com/en-us/downloa ... x?id=49031
2) https://www.microsoft.com/en-us/downloa ... x?id=48145
VSTA Still is not activated! Is it too late becuase I have already install my solidworks or sth else?
I installed these:
1) https://www.microsoft.com/en-us/downloa ... x?id=49031
2) https://www.microsoft.com/en-us/downloa ... x?id=48145
VSTA Still is not activated! Is it too late becuase I have already install my solidworks or sth else?
Re: Activating solidworks VSTA
I also have this problem. Did you fix it yet?
Re: Activating solidworks VSTA
Read this:
https://cadforum.net/viewtopic.php?t=1967
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.