PDA

View Full Version : How do I programmatically set ‘parameter macros’ for a 'Subroutine Call'?


Dave_Novak
05-05-2006, 06:19 AM
I am programmatically generating build steps using VBScript and the VBP object model. Although the object model is typically easy to program, I am having some problems setting up ‘parameter macros’ for a 'Subroutine Call'.

Could you possibly provide an example of how this is done?

Thanks.

kinook
05-05-2006, 07:09 AM
objStep.Property("Parameters") = Array("PARM1", "PARM2")
objStep.Property("ParamValues") = Array("VAL1", "VAL2")