I have a small routine that gives me the actual version of the app in all my programs.
[code]Function CompleteApplicationVersionNumber() As String
dim ch as String
ch = “Version “+str(app.MajorVersion)+”.”+str(app.MinorVersion)
if app.BugVersion > 0 then ch = ch + “.”+str(app.BugVersion)
Select case app.StageCode
case Alpha
ch = ch+"? "
case Beta
ch = ch+" "
case Development
ch = ch+"? "
case Final
ch = ch+" "
end Select
if app.NonReleaseVersion<>0 then
ch = ch+" ("+str(app.NonReleaseVersion)+")"
end if
Return ch
End Function
[/code]
this worked fine until yesterday I noticed the “” did not appear anymore
I traced the program and at the “select” line of the routine, the App.StageCode has a value of 3 that means “Final”
and in the IDE beta is selected …
I made a new empty project and pasted the method, and I got the attended “” so the problem is in my (big) application.
but then I saw that this property StageCode cannot be modified out of the IDE…
so how can it be ?
It worked fine on the same app I compiled 3 months ago. In the period, I switched from RS2012 to Xojo2015
but I reopened the source in RS2012 and I still have the same problem at the same place.
no post processing, no ide script, no code profile, it’s a plain mac os desktop app with no appstore only for limited customers
but I admit it’s a big one with sqlite database interface
nothing of this kind.
when xojo compiles, does it delete the previous application, or merge the code into the existing one ?
should I delete the previous compiled app ?
I cant reproduce this and I have no idea why this would be occurring on your end if you’re not doing something like wrapping it for submission to the app store etc