From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aApplication.BugVersion

Supported for all project types and targets.

The Bug version of the Application. This can only be set in the IDE, but you can read the value in your code.


Typically version numbers are written as (MajorVersion.MinorVersion.BugVersion.NonReleaseVersion).

Sample Code

Puts all the individual versions together to create the full version:

Dim fullVersion As String
fullVersion = Str(MajorVersion) + "." + Str(MinorVersion) + "." _
+ Str(BugVersion) + "." + Str(NonReleaseVersion)