ColdFusion MX7
the operating system windows 2008 r2 64, has been successfully installed coldfusion mx7, in execute following code when exception occurs ( office 2000 installed in system. ):
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:
exception occurred when executing com method. cause of exception that: automationexception: 0x80004005 - powerpoint ??¨′ò?a′???t?£ in 'microsoft powerpoint 2000'.
if knows how to solve it, come me, thank much!
More discussions in ColdFusion
adobe
Comments
Post a Comment