hi,
I posted this post in VBA newsgroup but realised that this newsgroup is
probably a better place for my post.
I have recently upgraded to VISTA from XP and tried to run a test
application to start AutoCAD 2007.
I get an error during instantiation of Acadapplicaion class
The code fails at _acadApp = new AcadApplication();
and gives the following error
Retrieving the COM class factory for component with CLSID
{28B7AA99-C0F9-4C47-995E-8A8D729603A1} failed due to the following error:
80080005.
AcadApplication _acadApp;
try
{
_acadApp = new AcadApplication(); //ERROR HERE
_acadApp.Visible = true;
}
catch (Exception)
{
throw;
}
I am using AC2007 and Visual Studio 2005 and have downloaded the patch from
Autodesk for it to work.
Any help will be appreciated.
irfan