![]() Resources resources = project. Hover over Reports in the dropdown and select the Gantt Chart Export option. Project project = appclass.ActiveProject Click the options button (three dots) in the top right. Create file in folder call temp with the name of projectĪ($".mpp", PjFileFormat.pjMPP, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing) String fileName = + ("yyyy MM mm ss ").Trim() Application appclass = new Application() Ī(false, missing, missing) Create the Application object to interact with MS project Var ProjectData = srv.Project_Get_Details(projectuid, Guid.Empty, false, false, Guid.Empty, App_.Id, null, out ErrorCode, out ErorMessage) I want to make the file open and focus automatically on the entire project of the Gantt chart. I succeeded but I had a small problem with the Gantt chart after finishing create MPP file I found the time scale of the Gantt chart in the present date so I make scroll to the first date time's task to find resources and predecessors of tasks I'm trying to create an MPP file using C#. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |