Hi,
I am having trouble exporting to powerpoint 2007 ( office 2007) by using Delphi 2005. Application uses COM object to communicate to powerpoint from Delphi. The same code works fine for office 2000 & office XP but do not work with Office 2007.
Surprising thing is export to excel functionality works fine with all the versions of MS Offices ( 2000, XP and 2007).
But, I get an error when application executes the following line of code in
FPresentation := FPowerPoint.Presentations.Open(FTemplateName,msoFalse,msoTrue,msofalse);
The error says Server execution failed, ClassID: { 91493441-5A91-11CF-8700-00AA0060263B}.
CodeGear told me that Microsoft has changed the interfaces for PowerPoint 2007 and they do not support at the moment this functionality even in the latest version which is delphi 2007.
Is there any workaround? Or Is there any thirdparty component with which I can achieve this functionality?
Please help. Thanks in advance.
Regards,
Ktuser
I am having trouble exporting to powerpoint 2007 ( office 2007) by using Delphi 2005. Application uses COM object to communicate to powerpoint from Delphi. The same code works fine for office 2000 & office XP but do not work with Office 2007.
Surprising thing is export to excel functionality works fine with all the versions of MS Offices ( 2000, XP and 2007).
But, I get an error when application executes the following line of code in
FPresentation := FPowerPoint.Presentations.Open(FTemplateName,msoFalse,msoTrue,msofalse);
The error says Server execution failed, ClassID: { 91493441-5A91-11CF-8700-00AA0060263B}.
CodeGear told me that Microsoft has changed the interfaces for PowerPoint 2007 and they do not support at the moment this functionality even in the latest version which is delphi 2007.
Is there any workaround? Or Is there any thirdparty component with which I can achieve this functionality?
Please help. Thanks in advance.
Regards,
Ktuser