How To Read Filter Definitions via Interop & VB.Net project

P

Paul Usher

Hi,

Where is the filter definition data stored inside Project, more
specifically, what object would I need to look for to read that ?

I have an application quite happily talking to MSProject via interop,
reading tasks, doing everything I want to, except, now I want to read filter
information, I can access the .TaskFiltersList and the .TaskFilters objects,
but it seems I can only get at summary information and I need to read the
detail lines.

many thanks.


Paul
 
R

Rod Gill

Hi,

A quick search of the Object browser confirms that there isn't a property
that returns details of a filter.

Instead, If I need to use a particular filter I re-create it in code each
time, thus ensuring I get what I want.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 
P

Paul Usher

Hi Rod,

thanks for quick response. I am currently doing that, however, I need to
interact with custom filters clients may already have created; is the filter
def stored anywhere else that is accessible ?

is it possible to get access to the information in a macro/vba and then
interact with it that way (extreme I know!).

TIA

Paul.
 
R

Rod Gill

Again, not that we are aware of. Your solution will require people and
training to be sure of what you are interacting with, otherwise recreate the
filters when needed.

Maybe if you said exactly what you need to achieve there may be another way
of doing it.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 
P

Paul Usher

Hi,

I am displaying the data from a MPP file in a different way graphically, to
be more friendly I have introduced a replicated filter system featuring all
the things the user can do in MSProject (edit/create new filters and
definititions etc), I want to be able to let the user select filters that
have been created/edited in project already.

I am going down the path of the mpjx libraries now as they seem to provide
full access to the filters.

Thanks for answering my posts though.

Paul.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top