Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-25-2003, 05:11 PM
Jim Warner Jim Warner is online now
Registered User
 
Join Date: 03-25-2003
Location: Monument, CO
Posts: 2
Question File driven build

I'd like to set up a build process that is driven by a file, containing a list of source files to be built. After digging around a bit, it looks like I'm going to have to write a VBScript to open the file and then iterate through the list of source files to build. For each file in the list, I'm thinking I need to call a visual build subroutine from the VBScript. Am I on the right track, or is there a simpler way to do this? Is it possible to call a visual build subroutine from VBScript? Is there any sample code around that does this kind of thing?

Thanks!

Jim Warner
Reply With Quote
  #2  
Old 03-25-2003, 06:17 PM
kalons kalons is online now
Registered User
 
Join Date: 03-22-2003
Posts: 13
Lightbulb

Pretty close. Attached is a sample of one way to accomplish this.
Attached Files
File Type: bld iteratefilecontents.bld (4.1 KB, 2577 views)
Reply With Quote
  #3  
Old 03-25-2003, 07:20 PM
Jim Warner Jim Warner is online now
Registered User
 
Join Date: 03-25-2003
Location: Monument, CO
Posts: 2
Cool, thanks! That looks like it will do the job. There doesn't seem to be any documentation on the functions AddDelimValue and NextDelimValue, but your code works fine. Thanks again,

Jim
Reply With Quote
  #4  
Old 03-26-2003, 09:07 AM
kalons kalons is online now
Registered User
 
Join Date: 03-22-2003
Posts: 13
Those script functions are found, with comments, in the script editor (View | Script Editor, Project tab). The next release of VisBuildPro will have similar functions (with vbld_ prefix) defined in the system scripts and documented in the help.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:16 AM.


Copyright © 1999-2023 Kinook Software, Inc.