🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.reader
Article #1254

Command Line Switches

#1254
From: Michael_Cochran
Date: Thu, 05 Feb 2009 20:52
14 lines
1003 bytes
Everyone,

I am using Acrobat 7.0 Professional edition. In MS Access, I am using the following lines of code to open and print the document.

sAcrobatReaderExe = "C:\Program Files\Adobe\Acrobat 7.0 Acrobat\Acrobat.exe"
retval = Shell(sAcrobatReaderExe & " /t " & " " & strFolder & strFile)

However, each time I loop through this code anothe instance of Acrobat opens up.

Is there a command line switch to close the file?

Thank you

mikecj
Technical Details
Message-ID: <59b7cb50.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,47b1d6c3a2f6ccf8,start
X-Google-Attributes: gid10273d,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Michael_Cochran@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.reader
Subject: Command Line Switches
Message-ID: <59b7cb50.-1@webcrossing.la2eafNXanI>
Date: Thu, 5 Feb 2009 12:52:22 -0800
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit