Error coming in MSProject_TLB

V

Vikas Malik

Hi,
I am programmatically trying to add tasks to a project and for that I am
using Tasks.Add(Name: OleVariant; Before: OleVariant) function. This function
returns a reference to the newly added task. Now sometimes what happens is
that instead of returning the reference to the added task this function
simply kills the entire function from where it is called. I have tried using
error handler but it even does not throw an error also. The method is simply
exited though the task is added but with default values.

Has anyone faced this problem or is there any solution for the same

Thanks in advance !
 

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