View Single Post
  #1  
Old 05-01-2007, 11:39 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,749
How to call a VBP subroutine from script code

Calling a VBP subroutine directly from script code is not supported. Some ways to accomplish this are:

1) Create temporary macro(s) from script, and then use those temporary macros as needed in the following steps (or in a subroutine called from the next step).

2) Create an object in script code (for instance an XML document, ADO recordset, etc.) and iterate over it in the following steps.
http://www.kinook.com/Forum/showthread.php?threadid=231

3) Create or open and build another project from script code (see the Script.bld sample).
Reply With Quote