Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 13th, 2005, 09:09 AM
ppenn
Guest
 
Posts: n/a
Default Open pdf document

Hi, I want to open an Acrobat Document programatically from an Access form, is it possible for someone to help with the correct code.
I have been using a hyperlink but that has caused a few problems
Thanks in advance
Peter
 
Old February 20th, 2007, 12:31 PM
Registered User
 
Join Date: Feb 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Shell strCommand, vbNormalFocus
where strCommand is the location of Adobe Reader exe followed by the filename you want to open.
C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe c:\temp\mypdf.pdf






Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Document to PDF BSkelding ASP.NET 1.0 and 1.1 Professional 2 July 19th, 2013 04:53 AM
Open document, Open second doc and copy to first justabeginner Word VBA 1 March 7th, 2007 02:47 AM
Dynamic PDF Document Generation nialljpmurphy J2EE 4 March 27th, 2006 07:13 PM
How do you Display a pdf document peterf VB How-To 8 May 25th, 2005 01:56 AM
PDF Document Import helga Pro VB 6 1 September 20th, 2004 08:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.