Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   File driven build (https://www.kinook.com/Forum/showthread.php?t=32)

Jim Warner 03-25-2003 04:11 PM

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

kalons 03-25-2003 05:17 PM

1 Attachment(s)
Pretty close. Attached is a sample of one way to accomplish this.

Jim Warner 03-25-2003 06:20 PM

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

kalons 03-26-2003 08:07 AM

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.


All times are GMT -5. The time now is 01:46 PM.


Copyright © 1999-2023 Kinook Software, Inc.