10 Replies Latest reply on May 24, 2018 3:04 AM by Ananth Balasubramanian

    Opening file using solidworks api in vb.net

    Ananth Balasubramanian

      Guys Iam trying to open an sldprt file using solidworks api.

      (1) Firstly I used the openfiledialog box to open the sldprt file and display its name in a textbox

      (2) The name which is displayed in the text box is converted into a string

      (3) That file name as string is passed as a input parameter into "swapp.getdoc6()" function

       

      I tried to input the integers and all but the code doesn't work

       

      Can anyone help me with this?

      Thank in advanceScreenshot (290).png