Howto select task programmatically

M

mikbox

Hello,

I'm trying to inegrate Project Server with an another enterprise web
app.
The app must have button which corresponds to a task in Project. I mean
when user clicks the button, a Web Access page should open with project
list and also the corresponding task should be highlighted or selected
somehow.
So, is there any way to highlight a task in WebAccess project list
programmatically?

And one similar question for a scenario with local project. We can
programmatically run MS Project on local machine, open a project from
Project Server, but is it possible then to select a task
programmatically?

Thanks
Michael
 
R

Rod Gill

I don't think you can programmatically select a task in Project Web Access.
You can in Project Professional with:

ActiveProject.Tasks(1).Select or
ActiveProject.Tasks("My Task").Select or
ActiveProject.Tasks.UniqueID(1).Select

Note that moving the cursor around to perform actions is very slow and
completely unnecessary. Much better to access and use the Task Object.
However, for visual user interface reasons the above works.
 

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