"Shell"ing to Adobe update question
- From: "Stinky Pete" <Peter.Morris@xxxxxxxxxxxxxxxxx>
- Date: 30 Aug 2006 18:07:30 -0700
Hi,
With thanx to the group and suggestions to review other news sites,
I've got some code that allows me to open Adobe from Access. As I am
new at this, I still need some help though. The code to get Abobe to
open is working really well, however the referenced file I need is not
being opened. I've tried the path that I've got in the text box via
the cmd prompt and copying the path in Windows Exp and the path does
work. Any suggestions as to why the actual file is not being opened
would be appreciated.
The code I've got to work so far is ....
Private Sub Full_pdf_form_Click()
Dim strFilePath As String
Dim strAcrobatPath As String
'set the file path for acrobat (please double check this)
strAcrobatPath = "C:\Program Files\Adobe\Acrobat
7.0\Reader\AcroRd32.exe" & strFilePath
'set the file path for the pdf file (as shown in the textbox name)
strFilePath = "Me.[NCF form pdf].Value" <== this bit's not
working though ;-)
'open the pdf file
Shell (strAcrobatPath & " " & strFilePath)
End Sub
Thanx in advance,
Stinky Pete ;-)
.
- Follow-Ups:
- Re: "Shell"ing to Adobe update question
- From: Vayse
- Re: "Shell"ing to Adobe update question
- Prev by Date: Re: Null vs. nothing
- Next by Date: Re: Access 2000 needs to be repaired EVERY day
- Previous by thread: ANSI vs Unicode and the character map
- Next by thread: Re: "Shell"ing to Adobe update question
- Index(es):
Relevant Pages
|
Loading