The build procedure for my app has gotten a bit more complicated,
so I want to automate it. How do I get build project and build exe to
execute in a VFP .exe called from the command line? I got a feature
not available message when I tried. There is a full VFP system on the
computer I used.

I am trying to get both the build and zip done in a batch file.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Re: VFP 9: Compiling in a VFP .exe by Stefan

Stefan
Thu Mar 29 02:28:15 CDT 2007


"Gene Wirchenko" <genew@ocis.net> schrieb im Newsbeitrag
news:j1mm039abvdd9tn5b9rr9oc9j68e0oal84@4ax.com...
> The build procedure for my app has gotten a bit more complicated,
> so I want to automate it. How do I get build project and build exe to
> execute in a VFP .exe called from the command line? I got a feature
> not available message when I tried. There is a full VFP system on the
> computer I used.

Did you try automation on that one?, untested:
LOCAL loVFP as 'VisualFoxpro.Application'
loVFP = CREATEOBJECT('VisualFoxpro.Application')
loVFP.DoCmd([BUILD EXE from (GETFILE('pjx'))])



hth
-Stefan



--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------



Re: VFP 9: Compiling in a VFP .exe by Bernhard

Bernhard
Thu Mar 29 06:21:14 CDT 2007

Hi Gene,

> The build procedure for my app has gotten a bit more complicated,
> so I want to automate it. How do I get build project and build exe to
> execute in a VFP .exe called from the command line? I got a feature
> not available message when I tried. There is a full VFP system on the
> computer I used.
>
> I am trying to get both the build and zip done in a batch file.
According to help topic "Distributable and Restricted Visual FoxPro Features and
Files" the BUILD commands are not available from an exe.

Maybe you "turn the inside out": add the call of your zipper (and the other
batch stuff) to the generating foxpro program. Then run it from IDE.

Regards
Bernhard Sander

Re: VFP 9: Compiling in a VFP .exe by Craig

Craig
Thu Mar 29 09:44:34 CDT 2007

The EXE is using the runtime files, not the development IDE. The build
commands are not part of the runtime.

--
----
Craig Berntson
MCSD, Visual FoxPro MVP
Salt Lake City Fox User Group
"Gene Wirchenko" <genew@ocis.net> wrote in message
news:j1mm039abvdd9tn5b9rr9oc9j68e0oal84@4ax.com...
> The build procedure for my app has gotten a bit more complicated,
> so I want to automate it. How do I get build project and build exe to
> execute in a VFP .exe called from the command line? I got a feature
> not available message when I tried. There is a full VFP system on the
> computer I used.
>
> I am trying to get both the build and zip done in a batch file.
>
> Sincerely,
>
> Gene Wirchenko
>
> Computerese Irregular Verb Conjugation:
> I have preferences.
> You have biases.
> He/She has prejudices.
>
> Computerese Irregular Verb Conjugation:
> I have preferences.
> You have biases.
> He/She has prejudices.