C# and Project.

R

Robert Lario

I know that is group is about VB, but it's the closest to my issue. I am
trying to create a project from C#. I have referenced MSProject.dll. The
intellisense is very helpful. Here is the code:

try
{
MSProject.Application app = null;
app = new MSProject.Application();
}
catch(Exception ex)
{
}

I keep getting an exception "access denied" when I try to create an new
instance. Is there a factory object I need to call to get a new instance?
Any ideas?
 

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