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
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