Version Comparison

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jordan T. Cox

    Version Comparison

    Hello everyone,

    I've googled through the older group messages - but I'm not quite sure
    what to use for search terms... so, if this has already been asked - I
    apologize.

    I'm wondering how exactly to get the version number for an application
    from within another Visual BASIC program. That is, if I'm in
    applicationA.ex e - how can I get applicationB.ex e's version number?

    I've found a few API references, but I seem to remember there being some
    sort of way to do it with the FSO, or some other Visual BASIC method.
    Any thoughts?

    Thank you.

    --
    Jordan T. Cox
    Programmer, IT Admin, Tech Support
    Geronimo Development Corporation

  • Bruce A. Wilkinson

    #2
    Re: Version Comparison

    Try using the app object

    App.Revision
    App.Major
    App.Minor


    Comment

    • Steve Gerrard

      #3
      Re: Version Comparison

      Um, that would be strVersion = FSO.GetFileVers ion(strFilePath ).

      "Jordan T. Cox" <nowhere@phanto mdata.com> wrote in message
      news:bkl1km$d62 [email protected] .net...[color=blue]
      > Hello everyone,
      >
      > I've googled through the older group messages - but I'm not quite sure
      > what to use for search terms... so, if this has already been asked - I
      > apologize.
      >
      > I'm wondering how exactly to get the version number for an application
      > from within another Visual BASIC program. That is, if I'm in
      > applicationA.ex e - how can I get applicationB.ex e's version number?
      >
      > I've found a few API references, but I seem to remember there being some
      > sort of way to do it with the FSO, or some other Visual BASIC method.
      > Any thoughts?
      >
      > Thank you.
      >
      > --
      > Jordan T. Cox
      > Programmer, IT Admin, Tech Support
      > Geronimo Development Corporation
      >[/color]


      Comment

      Working...