N
Nora
I want to create an MSProject object,populate it, and open it on the server,
using a web application. I managed to make it to work...but the WINPROJ.EXE
process was active until I killed manually (the account is NETWORK SERVICE).
I tried to use the Kill method...it works fine. The problem is...I cannot
implement this in the production...because of the security risks.
I would like to know, what is the optimal way to do this? Here is my code:
Dim app As New Microsoft.Office.Interop.MSProject.Application()
Dim project As Project = app.ActiveProject
.....
project.SaveAs(fileNamePath)
app.DocClose()
app.Quit()
System.Runtime.InteropServices.Marshal.ReleaseComObject(app)
app = Nothing
project = Nothing
using a web application. I managed to make it to work...but the WINPROJ.EXE
process was active until I killed manually (the account is NETWORK SERVICE).
I tried to use the Kill method...it works fine. The problem is...I cannot
implement this in the production...because of the security risks.
I would like to know, what is the optimal way to do this? Here is my code:
Dim app As New Microsoft.Office.Interop.MSProject.Application()
Dim project As Project = app.ActiveProject
.....
project.SaveAs(fileNamePath)
app.DocClose()
app.Quit()
System.Runtime.InteropServices.Marshal.ReleaseComObject(app)
app = Nothing
project = Nothing