C
Chris Molland
Hello,
I am creating a small utility to gather the text from a Powerpoint file's
slides and save it into an XML file.
I am using Office 2003. I can create a new Powerpoint object as follows:
oPPTApp = New Powerpoint.Application
but when I reach the next line of code to make oPPTApp visibleas follows:
oPPTApp.Visible = MsoTriState.msoTrue
I get the following error:
Error: HRESULT E_FAIL has been returned from a call to a COM component.
Can anyone advise me what could be causing this. I have tried many
variations of the code, checked the references and cannot seem to solve it.
Many thanks.
Chris
I am creating a small utility to gather the text from a Powerpoint file's
slides and save it into an XML file.
I am using Office 2003. I can create a new Powerpoint object as follows:
oPPTApp = New Powerpoint.Application
but when I reach the next line of code to make oPPTApp visibleas follows:
oPPTApp.Visible = MsoTriState.msoTrue
I get the following error:
Error: HRESULT E_FAIL has been returned from a call to a COM component.
Can anyone advise me what could be causing this. I have tried many
variations of the code, checked the references and cannot seem to solve it.
Many thanks.
Chris