Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with BUILD EXE or Build Method

Status
Not open for further replies.

vfp7guy

Programmer
Jul 2, 2002
45
CA
I am refining an in-house Source Control system that I designed and have used in our development department for a few years now. I am adding a method to the main form that will extract the PJX names that use any SCXs, PRGs, VCXs, etc. that have been revised since the last recompile of any project that uses them. My intent was to do a BUILD EXE ... on these projects, but I get the "Feature is not available" message.

I have just read about using the BUILD METHOD but am confused on applying it. I can't find any examples in the VFP documentation.

I would appreciate an example for doing a BUILD EXE from within a single-form EXE.

 
I don't know of a control that has a build method, but, if you're talking about the build command, that's pretty straightforward.
Code:
* Build an exe called sample from sample.pjx
BUILD EXE Sample FROM Sample
* Or, optionally
BUILD EXE Sample FROM Sample RECOMPILE
Regards,
Jim
 
Thanks anyway Jim, but that will work in a ,PRG that is executed from the VFP command prompt, but it generates the "Feature not available" message if executed from within a standalone EXE (as compiled from a VFP PJX).
 
Ramani ... same result as Jim's suggestion above ... tx anyway ...
 
Sorry, I didn't pick up on the fact that you were trying to do this in an exe. Can you build your Source Control System as an app? I believe the feature would be available in an app because you need VFP, not just the runtime files, to run it.

Good luck,
Jim
 
A VFP .exe can't - or rather, won't - build a VFP .exe.
You'll have to do it from within the developement environment.
Your best hope would be to run VFP hidden or minimized and have it DO the app that builds the .exe.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Oh well ... it was a thought ... anyway, thanks for all the input. Much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top