Script to open project in Project Professional
-
Thursday, June 21, 2012 8:02 PM
Hi,
I am using Project Server 2007 with SharePoint 2007 and SQL Server 2008 r2.
My implementation has tens of thouands of projects. It does not allow the project center views to be loaded.
I am making my own Project Center view on .net that will be much faster. I just want to know the script through which I can open the project in project professional as we do in project Center views.
Could anyone help me in getting thw script for it?
Thanks!
All Replies
-
Friday, June 22, 2012 6:22 AM
Hi there--
You will need to downloaded the primary interop assemblies from this link
http://www.microsoft.com/en-us/download/details.aspx?id=18346In your .NET project added reference to Microsoft Project 12 Object Library in COM tab of Add Reference dialog box & then you can get the MSProject.ApplicationClass.
expression.FileOpen(Name, ReadOnly, Merge, TaskInformation, Table, Sheet, NoAuto, UserID, DatabasePassWord, FormatID, Map, openPool, Password, WriteResPassword, IgnoreReadOnlyRecommended, XMLName, DoNotLoadFromEnterprise)
http://msdn.microsoft.com/en-us/library/bb213548(v=office.12).aspx
Using Command line:
http://office.microsoft.com/en-us/project-help/command-line-switches-for-microsoft-office-project-HA010165551.aspxHope that helps.
If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82