rfktp
06-15-2007, 09:17 AM
How does visual build handle version numbers for builds?
Also is there a way to have visual build replace pieces of text in a text files.
Finally is there a way to retrieve a piece of text from a text file using vbscript?
kinook
06-15-2007, 12:47 PM
Originally posted by rfktp
How does visual build handle version numbers for builds?
However you want it to. Versions can be stored in macros, set/incremented in tool actions (Make VC6, Make VS.NET, etc.), via Run Script, Set Macro actions, passed on the command-line, etc.
Also is there a way to have visual build replace pieces of text in a text files.
http://www.visualbuild.com/Manual/filereplaceaction.htm
Finally is there a way to retrieve a piece of text from a text file using vbscript?
To read in the file contents:
s = vbld_FSO().OpenTextFile("c:\path\to\file.ext").ReadAll
Then use InStr or RegExp to locate the desired piece.
http://www.w3schools.com/vbscript/func_instr.asp
http://www.devx.com/vb2themax/Tip/18636
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.