Results 1 to 2 of 2

Thread: file version info

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Denver, CO
    Posts
    10
    Does anyone know a quick and easy way, without adding any new dependencies, to get the version of a specific file? Thanks.

  2. #2
    Member
    Join Date
    Jul 2000
    Location
    BFE in Oregon
    Posts
    33
    If it's your application it's easy:
    app.Major
    app.Minor
    app.Revision

    append them in that order with periods and you get
    4.30.32
    in the properties dialog when you right click on a file in explorer it would look like this:
    4.30.0032

    If you want the version of some other app you'll need to do a couple api calls, which I don't know off hand. I'll post them in a few if someone else doesn't.

    WOW, it has more than just a couple api calls and it's too big to paste here but here's the link
    http://www.vbapi.com/ref/v/verqueryvalue.html
    It has a copy and paste example you can just put in your code.

    [Edited by Glacius Cool on 08-31-2000 at 09:25 PM]
    Glacius Cool
    Concept Designer
    VB5sp4,VC++6sp3

Posting Permissions

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



Click Here to Expand Forum to Full Width