SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jan 2000
    Location
    Ireland
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting file version numbers

    Silk has various file functions, eg SYS_GetDirContents etc.

    I need to be able to get a version number for a file. Does anyone know how to do this?

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Columbus, OH, USA
    Posts
    689
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting file version numbers

    Unfortunately, I think the only way would be to navigate to the file location using Explorer, right click the file and select Properties, then get the info from the Version tab. Ugly.

    If the application stores the version number in the registry, you could use SYS_GetRegistryValue().

    Just some ideas...



  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting file version numbers

    I had to do what Damian suggested. To verify the product EXE file, I browse in Explorer and find the EXE, right click, and check the Version number there.
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  4. #4
    Junior Member
    Join Date
    Jan 2000
    Location
    Ireland
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting file version numbers

    YOu can do it through explorer all right, problem is that explorer is not always correct for version numbers.

  5. #5
    Junior Member
    Join Date
    Apr 2000
    Location
    Windham, NH
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting file version numbers

    Here is an external dll with sample which I found on the net... It will return the version number of a specific file...

    GetFileVersion.zip


    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by eddieogram:
    Silk has various file functions, eg SYS_GetDirContents etc.

    I need to be able to get a version number for a file. Does anyone know how to do this?
    <HR></BLOCKQUOTE>


 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:35 AM.

Copyright BetaSoft Inc.