Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-02-2005, 01:48 PM
Murrgon Murrgon is online now
Registered User
 
Join Date: 07-28-2005
Posts: 19
Reading the version from a dll or exe

Is it possible to read the file version from a dll or exe file and store it in a macro? Can I do this in script?
Reply With Quote
  #2  
Old 08-02-2005, 01:59 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Use this in the Set Macro action's Value field:

[vbld_FSO.GetFileVersion("c:\path\to\file.ext")]

or

[vbld_FSO.GetFileVersion("%MACRO_WITH_FILENAME%")]
Reply With Quote
  #3  
Old 08-02-2005, 02:19 PM
Murrgon Murrgon is online now
Registered User
 
Join Date: 07-28-2005
Posts: 19
This gets better all the time! Thank you.
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 07:35 PM.


Copyright © 1999-2023 Kinook Software, Inc.