Automating more than one instance of MS Project ?

J

J.Simpson

Hi,

I am writing a .NET/C# ervice that uses the COM interop layer to automate MS Project. If I have just one thread doing the automation, everything works fine. When I try to spin up multiple threads (doing the same work) - I get all sorts of errors (nasty looking HRESULTS etc...)

I seems that I can only have one thread driving MS Project automation at once - does anybody know of a way to work multiple threads & automation?

Thanks,

James
 
M

Mike Glen

Hi James,

Try posting on the developer newsgroup. Please see FAQ Item: 24. Project Newsgroups. FAQs, companion products and other useful Project information can be seen at this web address: http://project.mvps.org/faqs.htm

Mike Glen
Project MVP


Hi,

I am writing a .NET/C# ervice that uses the COM interop layer to automate MS Project. If I have just one thread doing the automation, everything works fine. When I try to spin up multiple threads (doing the same work) - I get all sorts of errors (nasty looking HRESULTS etc...)

I seems that I can only have one thread driving MS Project automation at once - does anybody know of a way to work multiple threads & automation?

Thanks,

James
 

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