?
Solved

AccessVB: Open/Print pdf files from Access.mdb

Posted on 2008-06-09
3
Medium Priority
?
441 Views
Last Modified: 2013-11-27
I would like to open and print a pdf file using Access VB. But the code I submitted below does not work, will someone help me make it work?

Shell ("C:\Program Files\Adobe\Acrobat 8.0\Acrobat\acrobat.exe H:\Deliveries\Exxo\P6-9-08 Sams 33-0-9-DEL-2008.pdf")

Is there a way to open the pdf. without using shell? ( If I give my Access.mdb to someone who has installed adobe in a different location, it will not work)
0
Comment
Question by:ouestque
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 21744652
Application.Followhyperlink "H:\Deliveries\Exxo\P6-9-08 Sams 33-0-9-DEL-2008.pdf"
0
 

Author Comment

by:ouestque
ID: 21744922
Thanks!
0
 

Author Closing Comment

by:ouestque
ID: 31465459
Thank you so much!!!
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question