I
Idrees
Please help me!
I am getting HRESULT E_FAIL when I try to call the following function in c#
chart =
(Microsoft.Office.Interop.Graph.Chart)slide.Shapes.AddOLEObject(GetLeft(i),
GetTop(i), GetWidth(i), GetHeight(i), "MSGraph.Chart", "",
Microsoft.Office.Core.MsoTriState.msoTrue, "", 0, "",
Microsoft.Office.Core.MsoTriState.msoTrue).OLEFormat.Object;
this runs well on my local machine that runs XP but doesnt run on Windows
Server 2003. Also please note that powerpoint presentation works well and
tabular slides are generated perfectly. Only charts are not working. Have no
idea whats the issue!
I am getting HRESULT E_FAIL when I try to call the following function in c#
chart =
(Microsoft.Office.Interop.Graph.Chart)slide.Shapes.AddOLEObject(GetLeft(i),
GetTop(i), GetWidth(i), GetHeight(i), "MSGraph.Chart", "",
Microsoft.Office.Core.MsoTriState.msoTrue, "", 0, "",
Microsoft.Office.Core.MsoTriState.msoTrue).OLEFormat.Object;
this runs well on my local machine that runs XP but doesnt run on Windows
Server 2003. Also please note that powerpoint presentation works well and
tabular slides are generated perfectly. Only charts are not working. Have no
idea whats the issue!