ColdFusion MX7 on Windows Server 2008 R2 / IIS 7.5


code:

<cftry>
    <cfobject type="com" name="ppt"

class="powerpoint.application" action="create">
   <cfset variables.stlocaltemp=structnew()>
   <cfset pres = ppt.presentations.open

("abcd.ppt", true, false, false)> 
   <cfset resultjx=pres.close()>
   <cfset resultjx=ppt.quit()>
   <cfset pres = "">
   <cfset ppt = "">    

  <cfcatch>
    <cfoutput>error in ppt2jpg cfc:

#cfcatch.message# #cfcatch.detail#</cfoutput>
   </cfcatch> 
  </cftry>

 

exception:

an exception occurred when executing com method. cause of

exception that: automationexception: 0x80004005 - powerpoint ??¨′

ò?a′???t?£ in 'microsoft powerpoint 2000'.

 

what can do solve the problem.please me!



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support