Having problems Storing and Retrieving an Excel file in a Custom Property

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Apr 25 12:18:18 EDT 2011


Martin, 

Using 'binfile' is the right answer.

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com


Op 25 apr. 2011 om 18:12 heeft Ian McKnight <iangmcknight at gmail.com> het volgende geschreven:

> Hi
> 
> I'm doing this from a stack within the IDE and have my stack in a sub folder
> of  my documents folder. The template file is in the same folder.
> 
> When  I double click the original template, which is also stored there, it
> lauches Excel and displays correctly. The problem occurs when it is
> 'processed' through my stack.
> 
> BTW I'm on Win 7 LiveCode 4.6
> 
> On 25 April 2011 16:14, Martin Blackman <martinblackman at gmail.com> wrote:
> 
>> I dont have any problems doing this in an app of mine, I am using
>> "binfile:"
>> though, also are you exporting the file to your program folder which
>> shouldn't be writeable.
>> 
>> On 25 April 2011 23:01, Ian McKnight <iangmcknight at gmail.com> wrote:
>> 
>>> Sorry pressed send to soon!
>>> 
>>> here is the export code:
>>> 
>>>  put the cpExcelMaster of this stack into tFileToExport
>>>  ask file ""
>>>   if it is empty or the result is "Cancel" then exit to top
>>> 
>>>   put "file:"&it &".xlt" into fname
>>>  put tFileToExport into URL fname
>>> 
>>> --
>>> Regards
>>> 
>>> 
>>> Ian McKnight
>>> 
>>> iangmcknight at gmail.com
>>> =======================
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> Regards
> 
> 
> Ian McKnight
> 
> iangmcknight at gmail.com
> =======================
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list