V
Vidya
I am unable to set the author for a schedule programatically . I guess, the API does not work. Is there any way i can set it, other than accessing the database directly ?
the API does not work. Is there any way i can set it, other than accessingVidya said:I am unable to set the author for a schedule programatically . I guess,
Vidya said:This is what i do to set the author name for schedule -
//////////////////////
MSProject.Application Appobj = new MSProject.Application();
bool flag =
way of setting the name of the schedule creator?Appobj.FileOpen(@ said:false,"msp_user","msp","MSProject.odbc","",
MSProject.PjPoolOpen.pjPoolReadWrite,"","",true);
string sAuthor = "VIDYAR";
Appobj.ActiveProject.Author = (object)sAuthor;
Appobj.FileSave();
///////////////////////
Is this the correct way of setting the author name? Is there some other