PC Review


Reply
Thread Tools Rate Thread

Closing Acobat

 
 
Michael Cochran
Guest
Posts: n/a
 
      5th Feb 2009
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?

Thanks,


 
Reply With Quote
 
 
 
 
Alex Dybenko
Guest
Posts: n/a
 
      6th Feb 2009
Hi,
have a look here:
http://accessblog.net/2008/01/printi...from-code.html

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com


"Michael Cochran" <Michael (E-Mail Removed)> wrote in
message news7C6A03B-31C7-4132-91F6-(E-Mail Removed)...
> 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?
>
> Thanks,
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot install Acobat Reader ritter197 Windows XP General 1 18th Feb 2006 04:01 PM
Cannot install Acobat Reader ritter197 Windows XP Help 1 18th Feb 2006 04:01 PM
Cannot install Acobat Reader ritter197 Windows XP New Users 1 18th Feb 2006 04:01 PM
ACOBAT READER =?Utf-8?B?Sk9ITkw=?= Windows XP Help 4 11th Apr 2004 02:02 PM
Adobe Acobat 6.0 problem with IE 6.0 Sal Windows XP Internet Explorer 1 20th Feb 2004 09:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:39 PM.