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

Ian McKnight iangmcknight at gmail.com
Mon Apr 25 12:12:55 EDT 2011


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
=======================



More information about the use-livecode mailing list