0 Replies Latest reply on Dec 4, 2015 7:47 AM by Darren Smith

    VBA Code to turn off ALL dialog boxes (New & Open)

    Darren Smith

      Can anybody help????


      Using the following line of code, does anybody know how to modify the code to turn off dialog boxes (New & Open)?


      swApp.SetUserPreferenceToggle 999999, False


      This is un-documented by SolidWorks so I have no references to help me?


      This is going to be a test at present!


      We are hoping to replace the "New" & "Open" dialog boxes with our own.


      I know that I can use our own buttons and reference it to a macro, but I am using a "Listen for Events" code to do this instead!


      Many thanks in advance!!!