You should not use FirstTime for this.
FirstTime is true only when the process first starts. Your activity can be recreated many times while the process is kept alive.
You will need to use your own variable. Something like:
Sub Globals
Dim DuringInitialize As Boolean
End Sub
Sub Activity_Create (FirstTime As Boolean)
DuringInitialize = true
...
End Sub
Sub Activity_Resume
...
DuringInitialize = false
End Sub
[/code]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.