Y
Yash
Hi,
We are using the power point interop assemblies to get the data from
powerpoint.
Following code is used to open the presentation
Presentations ppts = _pptApp.Presentations;
_ppt = ppts.Open(PPTFile, MsoTriState.msoFalse, MsoTriState.msoFalse,
MsoTriState.msoFalse);
_path = PPTFile;
Initially I had the office 2003 installed. At that time this code was
working. Now as soon as i installed office 2007(powerpoint, word and excel)
this code is throwing me the following excaption in the Open call
Error HRESULT E_FAIL has been returned from a call to a COM component.
Note that i have both 2003 and 2007 on my machine.
Thanks,
We are using the power point interop assemblies to get the data from
powerpoint.
Following code is used to open the presentation
Presentations ppts = _pptApp.Presentations;
_ppt = ppts.Open(PPTFile, MsoTriState.msoFalse, MsoTriState.msoFalse,
MsoTriState.msoFalse);
_path = PPTFile;
Initially I had the office 2003 installed. At that time this code was
working. Now as soon as i installed office 2007(powerpoint, word and excel)
this code is throwing me the following excaption in the Open call
Error HRESULT E_FAIL has been returned from a call to a COM component.
Note that i have both 2003 and 2007 on my machine.
Thanks,