S
swje
We develop a program in machine running Office 2007 under Vista32,
run below code:
_PPTApp = new PowerPoint.Application();
_PPTApp.Visible = Office.MsoTriState.msoTrue;
_Presentation = _PPTApp.Presentations.Open("A PPT File",
ObjectReadyOnly, Office.MsoTriState.msoFalse, Office.MsoTriState.msoTrue);
in Open method,pop a message" Error HRESULT E_FAIL has been returned from
a call to a COM component." ,
the method work well in enviorment Office 2007 + XP.
Any advice will be ppreciate,
Thanks in advance!
Scott
run below code:
_PPTApp = new PowerPoint.Application();
_PPTApp.Visible = Office.MsoTriState.msoTrue;
_Presentation = _PPTApp.Presentations.Open("A PPT File",
ObjectReadyOnly, Office.MsoTriState.msoFalse, Office.MsoTriState.msoTrue);
in Open method,pop a message" Error HRESULT E_FAIL has been returned from
a call to a COM component." ,
the method work well in enviorment Office 2007 + XP.
Any advice will be ppreciate,
Thanks in advance!
Scott