use App.Path to open file in subfolder of app?

  • Thread starter Thread starter andy
  • Start date Start date
A

andy

Could someone please tell me what I need to change to get
this to work (I am opening a specific file with Adobe
Acrobat) by looking at what folder the app is in, and
using that to concatenate to the file in a sub folder

This code works portion of code works:
stAppName = "D:\Program Files\Adobe\Acrobat 5.0
\Acrobat\Acrobat.exe " _
& "C:\AuthSign\PDFs" & Form_Main.FPN.Value

However I would like to do something like this:
stAppName = "D:\Program Files\Adobe\Acrobat 5.0
\Acrobat\Acrobat.exe " _
& App.Path & "\PDFs" & Form_Main.FPN.Value

Apparently App.Path does not work in the same manner as it
does in VB.
 
Back
Top