Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2007

Tip: Looking for answers? Try searching our database.

Shell Command to Close Acrobat

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Z. Scharf - 22 Jan 2007 08:10 GMT
Hi,

Is there a shell command syntax in VBA that will close all open instances of
Adobe Acrobat?

I have a routine which prints reports to PDF.

Users then generally open the PDF's to check them.

If they then go to reprint the reports to PDF, and users haven't closed the
PDF's, then they get the message that PDF's are open and have to be closed
first.

I'd like to have a comand at the top of my printing routine that closes all
open instances of Acrobat.

Thanks.

Alan
Stefan Hoffmann - 22 Jan 2007 10:47 GMT
hi Alan,

> Is there a shell command syntax in VBA that will close all open instances of
> Adobe Acrobat?
Take a look at pskill (SysInternals). Afaik it takes process names as
argument.

mfG
--> stefan <--
Alex Dybenko - 22 Jan 2007 11:10 GMT
Hi,
and here API stuff to close applications:
http://www.mvps.org/access/api/api0025.htm

Signature

Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com

> Hi,
>
[quoted text clipped - 15 lines]
>
> Alan
Alan Z. Scharf - 22 Jan 2007 17:05 GMT
Stefan and Alex,

Thanks very much.

Those were exactly what I needed!

Regards,

Alan

> Hi,
>
[quoted text clipped - 15 lines]
>
> Alan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.