MSProject Add-In Problen

R

rubinu

hello all,
i've created an add-in in vb.net.
in the code there is a loop that runs through all the tasks in the current
active project: "for each task in activeproject.tasks..."
inside the loop i change the values of 3 customized fieds (start3, finish3,
text3).
the thing is, it takes a realy long time for the loop to run through all the
tasks.
example: 100 tasks - 20 sec
200 tasks - 1 min
500 tasks - 20 min

some insights:
when the add-in runs on an ofline file, it is realy fast.
i've isolated the problem and the loop is defenetly the time consumer.

hope somebody can help
thanks

uri
 

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