M
Memphis Monroe
Hi all
I'm using Visual Studio 2008 and Project Professional 2007.
When try to create project at runtime using VSTO and C#
I'm getting the following error
"Retrieving the COM class factory for component with CLSID
{1019A320-508A-11CF-A49D-00AA00574C74} failed due to the following error:
80040154."
Here is the code
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
SProject.Project mpro = new Microsoft.Office.Interop.MSProject.Project();
mpro.Name = "Do It!";
mpro.Tasks.Add("do what i say!", "Jun 2010");
}
I'm using Visual Studio 2008 and Project Professional 2007.
When try to create project at runtime using VSTO and C#
I'm getting the following error
"Retrieving the COM class factory for component with CLSID
{1019A320-508A-11CF-A49D-00AA00574C74} failed due to the following error:
80040154."
Here is the code
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
SProject.Project mpro = new Microsoft.Office.Interop.MSProject.Project();
mpro.Name = "Do It!";
mpro.Tasks.Add("do what i say!", "Jun 2010");
}