S
Sue
Situation: User enters actual finish etc using a Web interface. Information
is stored in a SQL Server database.
Goal: MS Project recalculates so that new schedule information is sent back
to the user.
Environment: Project 2000, SQL Server 2003, Windows Server 2000, IIS.
The short question is: What is the best way to do this?
One way that works: Using PHP as the Web Language, I have successfully done
the recalc as follows: PHP calls rick.bat which calls CalculateProject.exe
(a VB Program) which uses OLE Objects to start project, open, recalculate,
save, and close the file, then end project. Until recently when this
mysteriously quit working. I am checking out that avenue, but am also
exploring better options since this is VERY SLOW (not to mention ugly)
Other things I have considered (but haven't figured out how to make it work)
are:
- Call MS Project directly from PHP (PHP developer says it can't be done)
- Switch to ASP.net and call MS Project directly (Working on this one, but
need a short term fix for production right now)
- Use a trigger and stored procedure in SQL Server (I like this option but
don't know how to do it.)
- Use a Job in SQL Server (not so crazy about this, and don't know how to
do it)
other related information: the update to the database is fine. I can
manually open and save the project from/to the database.
secondary question: Must I upgrade Project to do this 'correctly' (speed is
important)
Thank you for your help!
is stored in a SQL Server database.
Goal: MS Project recalculates so that new schedule information is sent back
to the user.
Environment: Project 2000, SQL Server 2003, Windows Server 2000, IIS.
The short question is: What is the best way to do this?
One way that works: Using PHP as the Web Language, I have successfully done
the recalc as follows: PHP calls rick.bat which calls CalculateProject.exe
(a VB Program) which uses OLE Objects to start project, open, recalculate,
save, and close the file, then end project. Until recently when this
mysteriously quit working. I am checking out that avenue, but am also
exploring better options since this is VERY SLOW (not to mention ugly)
Other things I have considered (but haven't figured out how to make it work)
are:
- Call MS Project directly from PHP (PHP developer says it can't be done)
- Switch to ASP.net and call MS Project directly (Working on this one, but
need a short term fix for production right now)
- Use a trigger and stored procedure in SQL Server (I like this option but
don't know how to do it.)
- Use a Job in SQL Server (not so crazy about this, and don't know how to
do it)
other related information: the update to the database is fine. I can
manually open and save the project from/to the database.
secondary question: Must I upgrade Project to do this 'correctly' (speed is
important)
Thank you for your help!