Current active tasks with C# add-in RRS feed

  • Question

  • Hi,

    I'm developing an Add-In with VS2010 C# for MS Project desktop and I'm having some trouble with some little things.

    How can I know which tasks are currently active at a given date?

    And how can I set the calendar for 24 hour?

    Thanks in advance.



    Tuesday, July 3, 2012 1:20 AM

All replies

  • You need a filter to find current tasks, or loop through all tasks. I advise you get your code working in VBA first then translate to C# (obviously easier and quicker in VB).

    Record a macro of you creating a 24 hour calendar manually o get the calendar code. However if you create it manually then copy to the Globa.mpt file it's availabe to all your open projects, so why create programmatically?

    Rod Gill

    The one and only Project VBA Book

    Rod Gill Project Management

    Friday, July 6, 2012 1:57 AM