New to FoxPro. I have a batch program with a .prg extension. Do I need to
recompile this in FoxPro or are the only things that need to be re-compiled
.pjx files???

Thanks in advance for your help.

PSULionRP

Re: Compiling FoxPro Programs by swdev2

swdev2
Fri Apr 04 16:36:49 CDT 2008

What Version of FoxPro ?
Have you looked in the Help File ?
If you compile to an executable,
you'll usually start with a project (pjx) file.

Mondo Regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"PSULionRP" <PSULionRP@discussions.microsoft.com> wrote in message
news:74BA94DD-1624-4B40-8A9B-3AD7AF0352DE@microsoft.com...
> New to FoxPro. I have a batch program with a .prg extension. Do I need to
> recompile this in FoxPro or are the only things that need to be
re-compiled
> .pjx files???
>
> Thanks in advance for your help.
>
> PSULionRP



Re: Compiling FoxPro Programs by tg

tg
Fri Apr 04 15:41:41 CDT 2008

PSULionRP schrieb:
> New to FoxPro. I have a batch program with a .prg extension. Do I need to
> recompile this in FoxPro or are the only things that need to be re-compiled
> .pjx files???
>

If you are working from the vfp IDE recompiling of prg's is done
automatically.

HTH

thomas

Re: Compiling FoxPro Programs by PSULionRP

PSULionRP
Fri Apr 04 15:44:00 CDT 2008

Visual FoxPro 8. Enhancing a .prg. Not part of the project .pjx.

So do I need to compile this enhanced .prg???

"swdev2" wrote:

> What Version of FoxPro ?
> Have you looked in the Help File ?
> If you compile to an executable,
> you'll usually start with a project (pjx) file.
>
> Mondo Regards [Bill]
> --
> ===================
> William Sanders / EFG VFP / mySql / MS-SQL
> www.efgroup.net/vfpwebhosting
> www.terrafox.net www.viasqlserver.net
>
> "PSULionRP" <PSULionRP@discussions.microsoft.com> wrote in message
> news:74BA94DD-1624-4B40-8A9B-3AD7AF0352DE@microsoft.com...
> > New to FoxPro. I have a batch program with a .prg extension. Do I need to
> > recompile this in FoxPro or are the only things that need to be
> re-compiled
> > .pjx files???
> >
> > Thanks in advance for your help.
> >
> > PSULionRP
>
>
>

Re: Compiling FoxPro Programs by swdev2

swdev2
Fri Apr 04 16:59:19 CDT 2008

NO -
you do not need to COMPILE this 'enhanced' prg.

Stop what yer doing for a moment.
Ask around how/why this 'enhanced' prg file is being used.
VFP IDE can be called via a batch file, passing in the name of the prg
file -
then the prg file runs.

If you are wanting to MAKE an EXE that ONLY uses the VFP RUNTIME modules,
then go that route.

IMO, putting the VFP IDE on another machine to 'run a batch' violates the
licensing,
unless the 'batch machine' already has a license for the VFP IDE.

Mondo regards [Bill]

--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"PSULionRP" <PSULionRP@discussions.microsoft.com> wrote in message
news:C03B22F2-761A-47DA-A71B-3524CE5E7BC0@microsoft.com...
> Visual FoxPro 8. Enhancing a .prg. Not part of the project .pjx.
>
> So do I need to compile this enhanced .prg???
>
> "swdev2" wrote:
>
> > What Version of FoxPro ?
> > Have you looked in the Help File ?
> > If you compile to an executable,
> > you'll usually start with a project (pjx) file.
> >
> > Mondo Regards [Bill]
> > --
> > ===================
> > William Sanders / EFG VFP / mySql / MS-SQL
> > www.efgroup.net/vfpwebhosting
> > www.terrafox.net www.viasqlserver.net
> >
> > "PSULionRP" <PSULionRP@discussions.microsoft.com> wrote in message
> > news:74BA94DD-1624-4B40-8A9B-3AD7AF0352DE@microsoft.com...
> > > New to FoxPro. I have a batch program with a .prg extension. Do I need
to
> > > recompile this in FoxPro or are the only things that need to be
> > re-compiled
> > > .pjx files???
> > >
> > > Thanks in advance for your help.
> > >
> > > PSULionRP
> >
> >
> >



Re: Compiling FoxPro Programs by Paul

Paul
Sat Apr 05 02:03:53 CDT 2008

Don't know whether this is the type of thing you are looking for but:
You can compile "on the fly", I think it was implemented in VFP6 SP5 (??)
The COMPILE command works in the runtime engine and I think it is about as
good as sliced bread. Compiling a prg produces an fxp file. Look for the fxp
file of the same name if it is not found or the date/time is different then
run COMPILE.
That is compiling on the fly, another approach is to not include your prgs
into the project (apart from the main) so that everything can be dynamically
linked in at the time the exe starts (set procedure to ... additive). That
means that if you decide to release a new version of a procedure file (prg)
you only have to send out a new version of the fxp.
There are a couple of issues that you have to work around if you go down
this path but after ~5 years of doing it this way I can say it works for me.

"PSULionRP" <PSULionRP@discussions.microsoft.com> wrote in message
news:74BA94DD-1624-4B40-8A9B-3AD7AF0352DE@microsoft.com...
> New to FoxPro. I have a batch program with a .prg extension. Do I need to
> recompile this in FoxPro or are the only things that need to be
> re-compiled
> .pjx files???
>
> Thanks in advance for your help.
>
> PSULionRP



Re: Compiling FoxPro Programs by Steve

Steve
Tue Apr 08 13:52:04 CDT 2008

"PSULionRP" <PSULionRP@discussions.microsoft.com> wrote in message
news:74BA94DD-1624-4B40-8A9B-3AD7AF0352DE@microsoft.com...
> New to FoxPro. I have a batch program with a .prg extension. Do I need
> to
> recompile this in FoxPro or are the only things that need to be
> re-compiled
> .pjx files???
>
> Thanks in advance for your help.
>
> PSULionRP

If you have users running this program via a FoxPro runtime, then yes,
you must recompile it. If the program is being run only within the
development version of FoxPro, it will be recompiled automatically.

Project files are something else.

-S-