2 Replies Latest reply on Apr 29, 2016 2:21 AM by Georg Draxler

    Why i am Getting an Error Using My.Application.Info.DirectoryPath (EPDM Addin)

    Georg Draxler

      Hello!

       

      I am writing an Addin for EPDM. In my code i am reading information from a file in the Application directory. To get this directory i always used

      My.Application.Info.DirectoryPath

      This always worked for me in any application but not for the epdm addin. As basic structure i am using the epdm sdk.

      The addin is working if i hardcode the path. E.g. path = c:\myfolder1\addin\some.fil

      I found out, that the problem starts with using My.Applicatiion.

       

      You can see the error in the attached screenshot. (sorry it is in german)

       

      Can somebody help me please?