Display application version

  1. 4 months ago

    Tim K

    Apr 23 Pre-Release Testers, Xojo Pro

    Prior to 2018 r.1
    How do I display my application version on an about page

    I see in 2018 r.1 added
    Application.Version

    TIA

    Tim

  2. Emile S

    Apr 23 Europe (France, Strasbourg)

    http://docs.xojo.com/Application.Version

    Now if you want something more elaborated, it is up to you.

    And, you have plenty applications in your boot disk (Applications folder on macOS) to get ideas from.

    Add a build date,
    Add a copyright date / name,
    etc.

  3. Paul S

    Apr 23 Pre-Release Testers, Xojo Pro Europe (Netherlands, Den Haag)

    You have to format the version yourself.
    For an example see http://docs.xojo.com/Application.MajorVersion

  4. This is a simple template I reuse over and over (nothing fancy):

     Dim s As String
      s = "***Application Name***"
      s = s + EndOfLine + "***Application Description - sentence***" + EndOfLine
      s = s + EndOfLine + "Version " + Str(App.MajorVersion) + "." + Str(App.MinorVersion) + "." + Str(App.NonReleaseVersion)
      s = s + ", " +  App.BuildDate.ShortDate 
      s = s  + EndOfLine + "Made with: Xojo " + XojoVersionString
      s = s + EndOfLine + "***Copyright Info***" + Str(App.BuildDate.Year)
      MsgBox(s)
      Return True

or Sign Up to reply!