Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-15-2007, 09:17 AM
rfktp rfktp is online now
Registered User
 
Join Date: 06-12-2007
Posts: 22
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?
Reply With Quote
  #2  
Old 06-15-2007, 12:47 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
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").Rea dAll

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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 10:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.