Application.ExecutableFile doesn't exist - preventing build

Haven’t done a Xojo project in awhile … I just downloaded 2014R2 and I’m trying this code:

[code] try
dim f as folderitem = Application.ExecutableFile

catch
end try
[/code]

I press, ‘Build’ (not Run) and get ‘This item does not exist’ with the ‘ExecutableFile’ highlighted in the second line of code. Where is my syntax wrong?

  try
    dim f as folderitem = App.ExecutableFile
    
  catch
  end try

thank you