Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

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,013
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


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 11:14 PM.


Copyright © 1999-2023 Kinook Software, Inc.