You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a PowerPoint Add-in that I'm developing that needs to read some stuff from open MS Project files. I'm trying to use this method: NetOffice.MSProjectApi.Application.GetActiveInstance(); but it always returns null even when MS Project is open and running. Turning on the throwExceptionIfNotFound argument, I get this error:
I can use prjApp = new MSProjectApi.Application() which will set the prjApp variable to the running instance of MS Project if it is currently open, but if MS Project is not running, it will start an instance of it in the background. In my scenario, I do not want it to do this.
Here are the versions of PowerPoint and Project I'm using:
The text was updated successfully, but these errors were encountered:
I have a PowerPoint Add-in that I'm developing that needs to read some stuff from open MS Project files. I'm trying to use this method:
NetOffice.MSProjectApi.Application.GetActiveInstance();
but it always returnsnull
even when MS Project is open and running. Turning on the throwExceptionIfNotFound argument, I get this error:I can use
prjApp = new MSProjectApi.Application()
which will set the prjApp variable to the running instance of MS Project if it is currently open, but if MS Project is not running, it will start an instance of it in the background. In my scenario, I do not want it to do this.Here are the versions of PowerPoint and Project I'm using:
The text was updated successfully, but these errors were encountered: