locked
Timescaledata argument exception RRS feed

  • Question

  • Hi,

    I am extending MS project 2003 addin support to MS Project 2010,

    I am copying task assignments using the below code,

    objTimeScales = objAssignment.TimeScaleData(StartDate, FinishDate, Microsoft.Office.Interop.MSProject.PjAssignmentTimescaledData.pjAssignmentTimescaledWork, Microsoft.Office.Interop.MSProject.PjTimescaleUnit.pjTimescaleDays) //it works fine in both 2003/2010

    objTimeScales.Add(

    10, 1).on this line i am getting argument value is not valid in 2010(whereas in 2003 it's working fine).

    I am using vs 2005, windows 7 & MS project 2010(trial version) for ur information.

    can any one show light on this.

     


    knowledge glows
    Wednesday, December 7, 2011 11:40 AM

Answers

  • Upgrading to licensed version with sp1 did the trick.
    knowledge glows
    Thursday, December 8, 2011 9:21 AM

All replies

  • Upgrading to licensed version with sp1 did the trick.
    knowledge glows
    Thursday, December 8, 2011 9:21 AM
  • Hi karthickeyan,

     

    Thanks for posting in the MSDN Forum.

     

    I’m glad to hear you have solved your issue. Thanks for sharing you experience here, it’s very beneficial for other community members who have similar problem to see how you solved your issue.

     

    Have a good day,

     

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Friday, December 9, 2011 7:00 AM