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

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.
 
S

Steven Burn

try

App.Path & "\" & "PDFs\" & Form_Main.FPN.Value

Just a suggestion (I've never used Adobe products)

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top