1 Reply Latest reply on Mar 23, 2015 8:23 AM by Keith Rice

    VBA used in SolidWorks: the code has to be updated to use on a 64-bit system.

    Cindy He

      Declare Function GetOpenFileName Lib "comdlg32.dll" Alias  "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long


      what is the meaning of this sentence?

      a swp file used in solidworks  to open a txt file, the first line is the sentence above. i am sure this swp file work well two years on other system.


      now when i try to run this file in solidworks, a window as attached jump out.

      it says that the code has to updated to use on a 64-bit system. both solidworks and computer system are 64-bit.


      could you kind help me on how to change this sentence to be used in 64-bit system?


      thank you very much!