|
#1
|
|||
|
|||
Script to load Global Subroutines
I am trying to create a script to load Global Subroutine Steps from a network file.
Dim Load Set app = CreateObject("VisBuildSvr6.Application") Load = app.Project.Steps(3).load("\\Server\VBP\VisBuildPr o.steps",True) The script runs without throwing an error, but the steps are not loaded. Using Visual Build Pro - Version 6.2a on Windows 2003 Server Reason for script...trying to create a server image starting with just the OS and VBP installed. Therefore, trying to prevent registry entries, shortcuts and starting VBP from a command-line. So, it will be helpful to open a .bld and have the first step load Global Subroutines. |
#2
|
|||
|
|||
Use the global Application object instead of creating another:
Code:
Application.Steps.Load "\\Server\VBP\VisBuildPro.steps", True |
#3
|
|||
|
|||
Thanks for the quick reply, the steps (Global Subroutines) now load correctly.
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|