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?