6 Replies Latest reply on Sep 7, 2017 9:27 AM by Deepak Gupta

    how to use floating license key in dot net program

    Arun Kumar

      Hi,

        I am developing some code in dot net to work around solidworks 2015 API

      but I getting error at the line where I have put my license key. I am using floating license key

       

       

      swClassFact = CreateObject("swDocumentMgr.SwDMClassFactory")

       

      swDocMgr = swClassFact.GetApplication("1785-0000-11111-00000-11111-44444-00007-00000-00000-00000-00000-00000-00000-99999-11111-00000-11111-22222-99999-99999-99999-00000-00000-11111-11111-11111-11111-11111-11111-99999-99999-99999-8")   ''' HERE I AM USING MY LICENSE KEY AND GETTING ERROR

       

      can anybody guide me what wrong I am doing with my license key

       

      Thanks in advance.

      Arun Kumarapi error.jpg