curdir() is the directory that holds the project files...
c:\vfp9apps\active\frantisi
OS is windows 8.1

On Thu, Nov 13, 2014 at 12:00 PM, Koen Piller <[email protected]> wrote:

> Hi,
>
> what is exactly your curdir() and your OS()
>
> Regards,
>
> Koen
>
> 2014-11-13 17:42 GMT+01:00 Michael Savage <[email protected]>:
>
> > OOPs the error is 4133.
> >
> > On Thu, Nov 13, 2014 at 10:31 AM, Michael Savage <[email protected]>
> > wrote:
> >
> > > Code below:
> > >
> > > lcReptName="C:\"+Curdir()+'Reports\'+'invMultiFinal.frx'
> > >
> > > lcOutFile="C:\"+Curdir()+'PDFFiles\'+ lcOutFName
> > >
> > > Do foxypreviewer.app
> > >
> > > && OBJTYPE 10 = PDF , 11 = PDF AS IMAGE
> > >
> > > && Destination
> > >
> > > LOCAL loReport as "PreviewHelper" OF "FoxyPreviewer.App"
> > >
> > > loReport = CREATEOBJECT("PreviewHelper")
> > >
> > > WITH loReport as ReportHelper
> > >
> > >         .AddReport( lcReptName, "NODIALOG")
> > >
> > >         .cDestFile = lcOutFile  && Use to create an output without
> > > previewing
> > >
> > >         .RunReport()
> > >
> > > ENDWITH
> > >
> > > loReport = NULL
> > >
> > >
> > >
> > > When it gets to .RunReport() I get the following error:
> > >
> > > Error 4143: An invalid file handle has been set.
> > >
> > > Of course no report is generated.
> > >
> > >
> > >
> > > What does this mean?
> > >
> > > I have tried the direct link to the files i.e.
> > > drive+curdir()+directory+filename and in the debugger both are valid
> > > filenames.
> > >
> > >
> > >
> > > Any ideas?
> > >
> > > TIA,
> > >
> > > Mike
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --- StripMime Report -- processed MIME parts ---
> > > multipart/alternative
> > >   text/plain (text body -- kept)
> > >   text/html
> > > ---
> > >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajpjykfujucsyjs5qcizenuy8bkfrafbrngwqiagvjz8l4m...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to