Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > .NET Framework 3.5
.NET Framework 3.5 For discussion of the Microsoft .NET Framework 3.5.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 3.5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 21st, 2009, 07:30 AM
Authorized User
Join Date: Apr 2005
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default PowerPoint Automation Error (HRESULT E_FAIL)

Hey guys,

I'm programming a tool for creating PowerPoint slideshows from an images directory.

I get the error "Error HRESULT E_FAIL has been returned from a call to a COM component" on the second line of this code:

ApplicationClass powerpoint = new ApplicationClass();
Presentation ppt = powerpoint.Presentations.Add(MsoTriState.msoFalse);
I looked everywhere and I couldn't find a solution, please help!

Old August 21st, 2009, 09:07 AM
Authorized User
Join Date: Apr 2005
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts

I found the solution! hresult e_fail powerpoint

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 'Exception from HRESULT: 0x800A03EC' vipin_pc ASP.NET 2.0 Professional 3 November 6th, 2009 09:17 AM
Export to Excel Error "HRESULT : 0x800AC472" Michael YoeH ASP.NET 3.5 Professionals 0 July 14th, 2009 03:31 AM
Needhelp Error- Exception from HRESULT: 0x800A0057 remya1000 General .NET 1 November 6th, 2008 11:45 AM
Automation Error nagarajan123 Access 0 April 30th, 2008 09:22 AM
An error occurred while validating. HRESULT = '80 Medes Excel VBA 0 May 10th, 2006 02:01 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.