> Isn't that what the first line of the code is doing?  <cfobject 
> action="create" type="java" class="com.aspose.slides.Presentation" 
> name="pres1">

Yes and no. You're creating the object, but then overwriting it a few lines 
later with a FileOutputStream object

<cfset pres1 = CreateObject("java", "java.io.FileOutputStream")
....

> <!--- Create the object and initialize --->
> <cfset x=pres1.init()> 

Also, you're not passing the file parameters to the constructor.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:293520
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to