Solved

AccessVB: Open/Print pdf files from Access.mdb

Posted on 2008-06-09
3
411 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
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 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