1 Reply Latest reply on Oct 21, 2013 4:50 PM by Artem Taturevych

    "new SolidWorks.Interop.sldworks.SldWorks()" can't open SolidWorks 2013

    Qingbo Zhang

      "new SolidWorks.Interop.sldworks.SldWorks()" can't open SolidWorks 2013

       

              private void button1_Click(object sender, EventArgs e)
              {
                  SolidWorks.Interop.sldworks.SldWorks swApp;

                  swApp = new SolidWorks.Interop.sldworks.SldWorks();
                  swApp.Visible = true;
              }

       

      无法将类型强制转换为接口.jpg

       

      Thanks.