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 / ActiveX Controls / November 2003

Tip: Looking for answers? Try searching our database.

Access and PDF.ocx

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dib - 23 Nov 2003 02:05 GMT
Hi,

Anyone with a sample code on how to open a PDF document using PDF.ocx and
printing the document using PrintAll

Thanks
Dib
Douglas J. Steele - 23 Nov 2003 12:16 GMT
Adobe says the following at http://www.adobe.com/support/techdocs/cd16.htm

"This ActiveX control is for use only with Internet Explorer; it is not a
full-featured, robust ActiveX control that enables other applications to
display PDF files."

However, the following does seem to work:

Add the control to your form. For the discussion that follows, name it
ctlPDFControl.
To load a document into it, use Me.ctlPDFControl.src = "C:\My
Documents\MyFile.PDF"
To print it, use Me.ctlPDFControl.printAll

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)

> Hi,
>
[quoted text clipped - 3 lines]
> Thanks
> Dib
Dib - 23 Nov 2003 13:42 GMT
This is what I am using now and it is not working properly.
it used to print when I first created it , and now it does not execpt when I
use PrintWithDialog, which opens the printer dialog and the code continues
to run. Is there a way to stop the code until the user click Ok button on
the print dialog. or is there a different soulation for this

Thanks
Dib

> Adobe says the following at http://www.adobe.com/support/techdocs/cd16.htm
>
[quoted text clipped - 17 lines]
> > Thanks
> > Dib
Douglas J. Steele - 23 Nov 2003 14:33 GMT
My advice would be to search the Support area at Adobe.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)

> This is what I am using now and it is not working properly.
> it used to print when I first created it , and now it does not execpt when I
[quoted text clipped - 27 lines]
> > > Thanks
> > > Dib
 
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.