T
Thiruvarul M
I am into development of an Add-in to MS Project with Microsoft.Office.Interop.MSProject - Application class. I am using the following code in C# to fetch the finish date of the task.
ApplicationClass ProjApp = new ApplicationClass();
Task tks;
Project proj = ProjApp.ActiveProject;
DateTime dateEnd;
foreach(Task tasks in proj.Tasks)
{
tks = proj.Tasks[tasks.ID];
dateEnd = Convert.ToDateTime(tasks.Finish);
}
When I compare the dateEnd values with the MS Project mpp file Finish, sometime I am receiving wrong Finish date, if any of you facing a similar issue and any fix available please provide me ASAP.
EggHeadCafe - Software Developer Portal of Choice
Upload Photos to the Web with your SmartPhone
http://www.eggheadcafe.com/tutorial...6d-9227152fa0e7/upload-photos-to-the-web.aspx
ApplicationClass ProjApp = new ApplicationClass();
Task tks;
Project proj = ProjApp.ActiveProject;
DateTime dateEnd;
foreach(Task tasks in proj.Tasks)
{
tks = proj.Tasks[tasks.ID];
dateEnd = Convert.ToDateTime(tasks.Finish);
}
When I compare the dateEnd values with the MS Project mpp file Finish, sometime I am receiving wrong Finish date, if any of you facing a similar issue and any fix available please provide me ASAP.
EggHeadCafe - Software Developer Portal of Choice
Upload Photos to the Web with your SmartPhone
http://www.eggheadcafe.com/tutorial...6d-9227152fa0e7/upload-photos-to-the-web.aspx