OK there is a few things here.
1/. When posting code use the 'gb' button, it's much nicer
2/.
&/ is a powerful command that sorts out if you need, or don't need, a slash in the path. The following will work
sPath = "/usr/" &/ "/bin/" &/ "/amidi"
3/.
Dim spath As String = Application.Path & "/" Application.Name & ".Gambas", You changed "gambas" to "Gambas". The file ending is ".gambas"
4/.
Me.labApplicationVersion.Text, just
labApplicationVersion.Text will do.
5/.
If Exist(sPath) Then sPath = Format(Stat(sPath).LastModified, DD dd mmm yyyy). The DD dd mmm yyyy needs to be in inverted commas "DD dd mmm yyyy" and sPath needs to be sText
6/.
Me.labBuildDate.Text = Build Date: " & " sText. Again "Me." is not required, and you have got your inverted commas muddled.
Try this: -
Public Sub Form_Open()
labApplicationVersion.Text = "Application Version : " & Application.Version
getBuildDate
End
Private Sub getBuildDate()
Dim sText As String = "no "
Dim sPath As String = Application.Path &/ Application.Name & ".gambas"
If Exist(sPath) Then sText = Format(Stat(sPath).LastModified, "DD dd mmm yyyy")
labBuildDate.Text = "Build Date: " & sText
End