I have an application that works fine in VB6 and Office 2003, which I'm migrating to Office 2007. The application uses Office Automation to generate PowerPoint slides.
I have compiled the application on my local machine which has Office 2007 installed and moved it to a server with Office 2007. I have setup DCOMCNFG to start up PowerPoint with a local userid with admin privileges.
The application is able to start PowerPoint, but fails when opening an existing file. The exact error is "-2147467259 Method '~' of object '~' failed".
Set pptPresentation = pptApp.Presentations.Open("D:\inetpub\ msoTrue, msoFalse, msoFalse)
Any help would be greatly appreciated.
I have compiled the application on my local machine which has Office 2007 installed and moved it to a server with Office 2007. I have setup DCOMCNFG to start up PowerPoint with a local userid with admin privileges.
The application is able to start PowerPoint, but fails when opening an existing file. The exact error is "-2147467259 Method '~' of object '~' failed".
Set pptPresentation = pptApp.Presentations.Open("D:\inetpub\ msoTrue, msoFalse, msoFalse)
Any help would be greatly appreciated.