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)
-   -   Version numbers (https://www.kinook.com/Forum/showthread.php?t=2713)

rfktp 06-15-2007 09:17 AM

Version numbers
 
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

Re: Version numbers
 
Quote:

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.

Quote:

Also is there a way to have visual build replace pieces of text in a text files.
http://www.visualbuild.com/Manual/filereplaceaction.htm

Quote:

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


All times are GMT -5. The time now is 12:25 AM.


Copyright © 1999-2023 Kinook Software, Inc.