> ie. without the must not be abstract or interface part. Or perhaps
> I'm confusing it with a legitimate "must not be abstract ..."
> exception ;-)
Hi guys, you were right Janet, FileInputStream is concrete. The reason why it
was throwing the error is because the File I was accessing had null slides.
Your first suggestion below was spot on.
<!--- 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))>
It was definitely a dab in the dark.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293575
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4