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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
>>> 
>>> [email protected]
>>> =======================
>>> _______________________________________________
>>> use-livecode mailing list
>>> [email protected]
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> Regards
> 
> 
> Ian McKnight
> 
> [email protected]
> =======================
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to