HRESULT E_FAIL Exception! (5 replies)

Posted on .NET 247 See other posts from .NET 247
Published on 28 Jan 2010 21:50:59 Indexed on 2010/03/08 3:32 UTC
Read the original article Hit count: 254

Filed under:
Hi, I am trying to generate a powerpoint presentation in C#. It works well on my local machine which is running XP. When I run the application on Windows Server 2003 (our Server) the presentation gives HRESULT E FAIL when I call the following code chart (Microsoft.Office.Interop.Graph.Chart)slide.Shapes.AddOLEObject (GetLeft(i), GetTop(i), GetWidth(i), GetHeight(i), "MSGraph.Chart", "", Microsoft....

© .NET 247 or respective owner