Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerPoint Open Error -2147467259

Status
Not open for further replies.

gogmu

Programmer
Jul 8, 2008
2
US
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.
 
Does the PC exhibiting this error have Office2007 too ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
More background: I should have mentioned that a front end application calls the VB6 Office Automation DLL on the server.

Yes. The server contains Office 2007.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top