Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

Last post 08-25-2009, 3:59 PM by MPMM. 75 replies.
Page 3 of 6 (76 items)   < Previous 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  •  03-01-2009, 10:29 AM 167516 in reply to 167512

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Alexey,

    I have figured out the issue with #1. For others, here is what I did (note: I am pasting the whole thing but use what you need):

    p.MinutesPerDay = 480;

    p.MinutesPerWeek = 480*5;

    p.DaysPerMonth = 20;

    ~~~~~~~~

    t.Start = new DateTime(2009,1,1);

    t.Finish = new DateTime(2009,6,1);

    t.Calendar = p.Calendar;

    t.IsMilestone = false;

    t.Duration = new TimeSpan(0,24,0,0);

    t.DurationFormat = TimeUnitType.Day;

    I also discovered that the TimeUnitType is not honoring a DayEstimated enum choice.

     

     
  •  03-01-2009, 11:28 AM 167518 in reply to 167516

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    A parent task will not honor the following:

    b.DurationFormat = TimeUnitType.Day;

    So if you have a parent Task, say b, and you add children task, the parent always shows the duration in minutes, not the specified TimeUnitType.

    Alan

     
  •  03-01-2009, 9:25 PM 167531 in reply to 167518

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    I believe that the task property "TotalSlak" is mis-spelled. It should be TotalSlack.

     

    Alan

     
  •  03-02-2009, 10:55 AM 167664 in reply to 167531

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Hello Alan,

    1. All duration values stored in mpp files as microseconds, in xml files as seconds so currently it's just converted to standard TimeSpan value.
    2. Xml project format doesn't allow to change how project displayed in MS Project.
    3. To read/write all predecessors and successors in a project you can directly access Project.TaskLinks property. The best way is use Project.RemoveLink, Project.AddTaskLink, Project.GetPredecessors methods.
    4. We will check TimeUnitType.DayEstimated but most probably it's just skipped by MS Project because Aspose.Tasks write it to the xml file "as is". The same probably happens for parent tasks. Anyway, we will investigate it and post here.
    5. Misspelled TotalSlack will fixed in the next version. Thank you.

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  03-02-2009, 7:30 PM 167756 in reply to 167664

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Ok, I have predecessors working (and I now understand the nuances here of what MS Project can do and not everything is a predecessor. It is good my wife teaches project management). Here is the code for others who may have similar challenges:

    Task prevTask = (Task)parentTask.Children[15];

    TaskLink tl = new TaskLink(prevTask, t, TaskLinkType.FinishToStart);

    p.TaskLinks.Add(tl);

    I tried to use the AddTaskLink but it would always on add in 1 TaskLink and I could never get the Arraylist above 1 item. Hence, I am unsure of its usage but directly accessing TaskLinks works.

    Thanks again for all of the help here.

    Alan

     

     

     
  •  03-02-2009, 7:44 PM 167759 in reply to 167664

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Alexey,

    This was supposed to be corrected but both ParentTask and ParentProject return null values for tasks.

    Alan

     
  •  03-02-2009, 11:37 PM 167771 in reply to 167664

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Attachment: Present (inaccessible)

    Alexey,

    I am unsure if this an issue with Aspose or MS Project but it is 1) my last bug before I finish, 2) frustrating because I cannot track it down. I will boil it down:

    When a task is set as a fixed duration in MSP, it can have a fixed duration with no problem. Hence, in the Aspose code, I set the task with a fixed duration and, when it gets into MSP, it messaes with all of the durations, which it shouldn't do. If i leave Fixed Duration out, everything works fine.

    I have attached a very simple program that illustrates this and have put in comments for what needs to be commented out to see the behavior.

    This is a minor issue and won't stop my moving forward but it is an irritant. You can easily create a project with fixed durations in MSP and save it and bring it back in with no issues. I have checked the MSP options I could find and have them all set to default yet it still happens.

    Thanks for any help,

    Alan

     

     

     
  •  03-03-2009, 9:55 PM 168013 in reply to 162991

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Hi Alexey,

    Can you please tell me the ETA for the baselines and when is the new ASPOSE.Tasks production release timeline?

    Best Regards,
    Lewis
    MPMM
     
  •  03-03-2009, 10:56 PM 168016 in reply to 167664

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Alexey,

    I can get extended attributes into a task but, for the life of me, I have no idea how to read them out of an existing task. Can you provide some pointers on reading an extended attribute of a task and getting the value?

    Thanks,

    Alan

     
  •  03-05-2009, 2:17 PM 168450 in reply to 168013

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Hello Lewis,

    New version with baseline and some other properties will be available on weekends. Also there will be posted some additional code examples.

    We are planning to publish new official release at the end of next week.

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  03-09-2009, 11:40 PM 168964 in reply to 168450

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Attachment: Present (inaccessible)

    Alexey,

    When opening the attached Aspose XML file, the ActualFinish is not honored on Task 8. i am unsure why MS Project opts to ignore it.

    Alan

     
  •  03-10-2009, 5:18 AM 169002 in reply to 168013

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    I have uploaded new 2.0.0.7 version. What's new:
    - Baseline property for tasks. Check TaskBaseline class.
    - Added Start/Finish calculation for resources.
    - Aspose.Tasks.Util namespace with helper classes.
    - 4 demos which show basic operations which can be done using classes from Util namespace.

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  03-25-2009, 9:52 PM 171587 in reply to 169002

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing .NET

    Attachment: Present (inaccessible)

    Hi

    When I import the attached plan I get the following exception on this line of code:

     ASPOSE.Project project = reader.Read(new FileStream(filePath, FileMode.Open));

     {"Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection."}

    This occurs whether the plan is in MS Project 2003, 2007 or XML format.

    I am running version 2.0.0.7

    Can you please investigate?

    TIA

    Lewis

     
  •  04-01-2009, 8:57 AM 172807 in reply to 162991

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing .NET

    Hi

    Am using Trial version of Aspose.Task.dll, when am opening the .MPP / .XML of MS Project and reading the Project.startdate it always gives the 02/09/2000 (dd/mm/yyyy) but i created MS Project with the project startdate as current date. Why it is not giving the correct date?

    Whereas i created the project with startdate is 25/10/2000 and now open this project using Aspose dll, now i get the correct date. Is this is due to Trial version?

    Quick Reply is Most Appreciated.

     

    Thanks

    Hamid

    muthuhamid@yahoo.com

     

     
  •  04-02-2009, 2:31 AM 172979 in reply to 172807

    Re: New Aspose.Tasks with MS Project 2007 MPP format support available for public testing

    Dear Hamid,

    Yes, it is the limitation of trial version of Aspose.Tasks.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Developer
    Aspose Sialkot Team
    Contact Us
    Aspose - The .NET and Java Component Publisher

    Keep in touch! We're on Twitter and Facebook
     
Page 3 of 6 (76 items)   < Previous 1 2 3 4 5 Next > ... Last »
View as RSS news feed in XML