>Try something along the lines of this
>
><!--- Create the objects and initialize --->
><cfset fis = CreateObject("java", "java.io.FileInputStream")>
><cfset pres1 = CreateObject("java", "com.aspose.slides.Presentation").init(
> fis.init("c:\test\destination.ppt")) >
><cfset pres2 = CreateObject("java", "com.aspose.slides.Presentation").init(
> fis.init("c:\test\destination.ppt")) >
><cfset Slide = pres1.getSlideByPosition(javacast("int", 5))>
>..
That looks very promising, it coming up with a different error now:
"Object Instantiation Exception.
An exception occurred when instantiating a Java object. The class must not be
an interface or an abstract class. Error: ''."
It does it when it reaches this bit of code
<cfset pres2 = CreateObject("java",
"com.aspose.slides.Presentation").init(fis.init("c:\test\destination.ppt")) >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293521
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4