Skip to main content
Email Password   helpLost your password?
  • Download source files - 5 Kb
  • Introduction

    VBMake.vbs provides critical functionality that is missing from the Visual Basic IDE/compiler. It is a VBScript make utility for intelligently building Microsoft Visual Basic projects, only building projects when the target executable is older than the source files. It works well in conjunction with the Visual Build build management tool.

    This script parses an individual VBP file (or all VBP files in a VBG) for its target and dependencies (the project file, all constituent source files and their binary equivalents [i.e.: frx, etc.]), and invokes VB from the command-line to build the project only if the target executable does not exist or is older than any of the dependencies. It does not consider references as a dependency. If the target is not specified in the VBP, VBMake will fail with an error.

    Usage: cscript VBMake.vbs [/V ] [/F] [/N] [/S]

    Any output is echoed to standard output; returns exitcode of 0 if successful or < 0 if any error occurs.

    The first parameter must be a valid VB project file (VBP) or group filename (VBG) and the following optional flags are supported (non-case-sensitive):

    e.g.: cscript VBMake.vbs MyProjects.vbg /s

    Dependencies:

    1. Microsoft Windows Scripting 5.0+ (comes with Win98 & Win2000, download for NT 4.0 and Win95 at http://msdn.microsoft.com/scripting)
    2. Microsoft Visual Basic 5.0+. If SourceSafe is also installed, is recommended that you disable SourceSafe integration in VB on the build machine to prevent the possibility of dialog boxes requiring user input when building. This is done by selecting Add-ins|Add-In Manager, selecting Source Code Control in the listbox and unchecking 'Load on Startup'.

    You must Sign In to use this message board.
     
     
    Per page   
     FirstPrevNext
    Generalmonitor text file size, if 2 MB then run a Batch File Pin
    virenmerdraib
    19:55 11 Oct '07  
    Questionpause in a vb script Pin
    Eltjo.schol
    1:56 3 May '06  
    QuestionVB6: Reached Limit Cannot Create Any More Control For This Form Pin
    steventry
    16:32 21 Jan '06  
    QuestionCould u do it Pin
    sadirov
    17:09 3 Dec '05  
    GeneralSSTab Saving???? Pin
    truonghanca
    8:30 8 Nov '05  
    Generalabout mailimg list Pin
    Anonymous
    6:51 20 Jun '05  
    Generalh r u . Pin
    Anonymous
    18:02 31 Dec '04  
    Generalh r u Pin
    Anonymous
    18:02 31 Dec '04  
    GeneralARP packet analyzer Pin
    estebitancf
    1:39 4 Nov '04  
    GeneralHow to pass arguments to a batch file from a VBScript Pin
    sankha_2025
    1:29 2 May '04  
    GeneralRe: How to pass arguments to a batch file from a VBScript Pin
    Jeff Prochaska
    6:11 29 Sep '04  
    Generalhow to create a menu control in VB? Pin
    donghuong
    21:22 15 Apr '04  
    GeneralPacket analyzer Pin
    Bongani
    21:42 1 Feb '04  
    GeneralEntering PIN Pin
    Anonymous
    23:11 18 Jun '02  
    Generalhi how r u Pin
    Anonymous
    22:18 1 Jul '01  
    GeneralRe: hi how r u Pin
    vjij
    6:00 1 Nov '01  
    GeneralRe: hi how r u Pin
    BABATUNDE
    5:13 12 Feb '02  
    GeneralRe: hi how r u Pin
    Rmars
    7:37 10 Apr '02  
    GeneralRe: hi how r u Pin
    Marshal
    2:42 31 May '02  
    GeneralRe: hi how r u Pin
    Anonymous
    2:40 3 Jul '03  
    GeneralRe: hi how r u Pin
    jwjames
    8:35 8 Jan '04  


    Last Updated 27 Jun 2000 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009