I want to insert a Listwiew control into a UserForm of one of my solidworks macros. But I get the following error message Unable to load the objects because they are not available on this machine. On the other hand, if I launch VBA from an Excel, it works. I made sure to have exactly the same references on the solidworks VBA. How come the two versions of vba don't work the same? If anyone can help me! Thank you
I'm not sure if the macro creation tool is the same in Excel and in Solidworks, at least for me when I click on "?" and then "About Microsoft visual basic for application" I don't come across the same versions so I guess that the setting of one does not concern the other and that the addition of a control in the toolbox either. Checks if all additions of additional components are the same in the macro creation tools of Excel and Solidworks, by right-clicking on the toolbox and then seeing attached image.
Thank you for your answer, Yes indeed, they are two different versions of vba on the two applications. In Excel, the add-in: Microsoft Listview control is located in SysWOW64\MSCOMCTL. OCX I did add the .ocx file in the SolidWorks VBA references but the control is not displayed in the list of add-ons! How is that possible?