Trying to access open package programmatically

  • I am writing an add-in to look for disabled tasks in all the packages of a solution. I can do this by opening the package from the source file, but I cannot figure out how to read the package if it is open in a designer window.

    The user may have a package or two open and may have disabled a task but not saved the package yet. In this case I won't see the disabled task until they save. I can determine if the package is open, but I can't figure out how to hook into the 'open' package.

  • I think you're going to find that the task is not truly disabled if the open package has not been saved.



    Alvin Ramard
    Memphis PASS Chapter[/url]

    All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.

    For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply