Launching a .pdf file from inside a MS Access DB on Citrix

G

Guest

On a form in my db app a button can be selected which launches a pdf document. The user uses the information in the document to make decisions about what to enter into the database. This functionality no longer works now that the DB has to be run via a Citrix interface. I have modified the code to be the following

Dim stAppName As String
Dim doclaunch As Strin

stAppName = "c:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe
doclaunch = "\\Kgont8\pi\testAFST\QuickReference.pdf
Call Shell(stAppName & " " & doclaunch, 1

This works perfectly on my local server, however when I launch it via Citrix I get the following errors from Adobe which have to be acknowledged before the document is retrieved for viewing: "Error while loading the plug-in annots.api" an
"Error while loading the plug-in accessibility.api". I only have Adobe reader on my machine, and although these apis are for Adobe Writer I can launch the document in any other way with no error msgs than through Citrix

Anybody have any ideas to work around this?????
 
T

Tony

Hi Linda,

It sounds like it's a Citrix Issue. Has Adobe reader been
loaded on Citrix?

Tony

-----Original Message-----
On a form in my db app a button can be selected which
launches a pdf document. The user uses the information in
the document to make decisions about what to enter into
the database. This functionality no longer works now that
the DB has to be run via a Citrix interface. I have
modified the code to be the following:
Dim stAppName As String
Dim doclaunch As String

stAppName = "c:\Program Files\Adobe\Acrobat 6.0 \Reader\AcroRd32.exe"
doclaunch = "\\Kgont8\pi\testAFST\QuickReference.pdf"
Call Shell(stAppName & " " & doclaunch, 1)

This works perfectly on my local server, however when I
launch it via Citrix I get the following errors from Adobe
which have to be acknowledged before the document is
retrieved for viewing: "Error while loading the plug-in
annots.api" and
"Error while loading the plug-in accessibility.api". I
only have Adobe reader on my machine, and although these
apis are for Adobe Writer I can launch the document in any
other way with no error msgs than through Citrix.
 
G

Guest

I agree it seems like a Citrix issue, but the Admin of the Citrix server is stumped also(have worked closely with the Citrix server Admin on this issue), and so its back in my lap. Adobe reader has been loaded on the Citrix server. Have looked for Citrix technical documentation or any place on the web where Citrix issues can be posted. Did find one place, however, instead of being technical info it has been overtaken by porn postings!

----- Tony wrote: ----

Hi Linda

It sounds like it's a Citrix Issue. Has Adobe reader been
loaded on Citrix

Ton

-----Original Message----
On a form in my db app a button can be selected which
launches a pdf document. The user uses the information in
the document to make decisions about what to enter into
the database. This functionality no longer works now that
the DB has to be run via a Citrix interface. I have
modified the code to be the following
\Reader\AcroRd32.exe
doclaunch = "\\Kgont8\pi\testAFST\QuickReference.pdf
Call Shell(stAppName & " " & doclaunch, 1
launch it via Citrix I get the following errors from Adobe
which have to be acknowledged before the document is
retrieved for viewing: "Error while loading the plug-in
annots.api" an
"Error while loading the plug-in accessibility.api". I
only have Adobe reader on my machine, and although these
apis are for Adobe Writer I can launch the document in any
other way with no error msgs than through Citrix
 
D

Dirk Goldgar

linda said:
On a form in my db app a button can be selected which launches a pdf
document. The user uses the information in the document to make
decisions about what to enter into the database. This functionality
no longer works now that the DB has to be run via a Citrix interface.
I have modified the code to be the following:

Dim stAppName As String
Dim doclaunch As String

stAppName = "c:\Program Files\Adobe\Acrobat
6.0\Reader\AcroRd32.exe" doclaunch =
"\\Kgont8\pi\testAFST\QuickReference.pdf" Call Shell(stAppName & "
" & doclaunch, 1)

This works perfectly on my local server, however when I launch it via
Citrix I get the following errors from Adobe which have to be
acknowledged before the document is retrieved for viewing: "Error
while loading the plug-in annots.api" and "Error while loading the
plug-in accessibility.api". I only have Adobe reader on my machine,
and although these apis are for Adobe Writer I can launch the
document in any other way with no error msgs than through Citrix.

Anybody have any ideas to work around this??????

Does it work if, instead of using Shell and specifying the path to
Acrobat Reader (which may be different on the server anyway) you just
write

Application.FollowHyperlink doclaunch

? On my system (without Citrix involved) that works, given that Acrobat
Reader is the registered application for files of type ".pdf".
 
G

Guest

Dirk --
THANK-YOU VERY, VERY much. The code you suggested works. Even through searching I would have never come across that particular functionality in MS Access since I didn't know the right way to phrase the search.

you made my day - thanks again
linda
 

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