G
Gabriele
Hi to all,
I'm using the COM Project from my application to add a large number of
tasks to a project in which I created many custom fields and outline
codes.
I create an MSProject.Application instance (called i.e. myproj1) when
I load my application and after I loop for each task I need to add
calculating the fields of the current task and adding it to the
myproj1.Tasks collection at the botton of the loop.
This approach has very poor performances when I add a thousand of
tasks and causes the crach of my application! I think that the problem
could be the call of the add method thousand times.. How can I solve
the problem?
Any suggestion will be very valued!!!!
Gabriele
I'm using the COM Project from my application to add a large number of
tasks to a project in which I created many custom fields and outline
codes.
I create an MSProject.Application instance (called i.e. myproj1) when
I load my application and after I loop for each task I need to add
calculating the fields of the current task and adding it to the
myproj1.Tasks collection at the botton of the loop.
This approach has very poor performances when I add a thousand of
tasks and causes the crach of my application! I think that the problem
could be the call of the add method thousand times.. How can I solve
the problem?
Any suggestion will be very valued!!!!
Gabriele