Navigation:  Samples >

Prompt.bld Sample

Previous pageReturn to chapter overviewNext page

This sample demonstrates several methods to prompt the user for a value during a build.  The simplest way is to reference a non-existent macro and let Visual Build prompt for the value when first referenced during a build (note: this applies only to the GUI app and not the Console app).  Another method is to create a Run Script step which prompts for the value and stores it in a temporary macro.


To provide even greater control over prompted values (for instance, to provide custom drop-down choices or if you have several values you wish to prompt for), create a custom user action which prompts for all values and stores the user inputs as macros, or create a custom front-end to launch Visual Build, passing in the user inputs.  Custom VB6 and C# front-ends are demonstrated in the ObjectModel samples and the VisBuildPro BuildLauncher sample.