Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Project hook
Message
 
 
To
25/06/2001 10:16:18
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Project manager
Title:
Miscellaneous
Thread ID:
00522542
Message ID:
00523058
Views:
17
This message has been marked as the solution to the initial question of the thread.
>Thanks for your response.
>
>However, what I like to know is how I can pass the parameters to the beforeBuild method. Can can I specify the cOutputName?
>Can I do this while building an exe from within the project?
>
>LPARAMETERS cOutputName, nBuildAction, lRebuildAll, lShowErrors, lBuildNewGuids
>
>TIA

What is passing the parameters? What you need is do this in code. Create you a bldapp.prg [don't call it build.prg] that accepts that list of parameters. Then you issue BLDAPP WITH '.\Output\myapp.app', 1, .f., .t., .f.

The BldApp.PRG looks like:
lparameter tcOutput, tnBuildAction, tlRebuild, tlShowErrors tlBuildNewGUIDs
modi proj vts noshow nowait
? _vfp.activeproject.Name  && for example
? _vfp.activeproject.build('vts.app',2,.f.,.t.,.f.)
_vfp.activeproject.close()
You can also modify this so you can pass the project name as a parameter. To see all the properties of the _VFP object just put it in the Watch window of the Debugger.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform