Hi,
Thanks for the reply it getting closer to my requirements. Can I do it
programmatically using C#. I've download the code from internet but when I
build it throws an error sayin Project cannot open file.
pro objMPPApplication = new pro();
try
{
//mppname is the name of the project published on the project server.
string strMPPPathName =
@"
http://pompom.com/projectserver\mppname";
object oMissing = System.Reflection.Missing.Value;
object oFile = strMPPPathName;
objMPPApplication.FileOpen(oFile, oMissing, oMissing,
oMissing, oMissing, oMissing, oMissing,
"domain account", "domain password", oMissing, oMissing,
Microsoft.Office.Interop.MSProject.PjPoolOpen.pjPoolReadOnly, oMissing,
oMissing, oMissing, oMissing);
objMPPApplication.Application.SelectAll();
}
catch (Exception ex)
{
objMPPApplication.Quit;
MessageBox.Show(ex.Message);
}