Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select and print PDFs from storage archive 1

Status
Not open for further replies.

HenryAnthony

Technical User
Feb 14, 2001
358
US
Hi,

We have many PDFs stored on a network. I would like to develop an application that makes it possible to select a PDF and then print it - preferably in a particular order - from within Access. Does anyone have any experience or ideas on how this could be accomplished.

Best regards,

Henry
 
Thanks Genoman,

I downloaded the trial but have not yet been able to find anything in the help files that refer to the desired functionality. I will dig deeper though.

Best regards,

Henry
 
There is a great help file included with the trial, but all the FileSystem manipulation is strictly VBA. If you are unfamiliar with it, here is sample code to copy a file:
FIRST ADD A REFERENCE to the Microsoft Scripting Runtime library.

Public Sub CopyFiles()

On Error GoTo copy_error

Dim strSource As String
Dim strDestination As String
Dim fs As Object

Set fs = CreateObject("Scripting.FileSystemObject")
strSource = "G:\etc\*"
strDestination = "C:\etc\"
fs.CopyFolder strSource, strDestination
Set fs = Nothing

copy_exit:
Exit Sub

copy_error:
MsgBox "File Copy Error " & Err.Number & vbCrLf & _
Err.Description
Resume copy_exit

End Sub

I can still help out with the PDF stuff,too; there is sample code included in the download as well.
Hope this helps!
-Geno
 
Geno,

My code skills are at a rather simplistic level. I have however had some success working with FileSystem stuff. I will see if I can make some sense of this.

Thanks soooooo much for helping. I give you a star!

Henry
 
ALL RIGHT HENRY -thanks much! The part of the ACG Help you need for code samples: Contents tab|Using the PDF And Mail Library|PDF Pro Edition|PDF Class|Class Properties and Methods. Good Luck!!
 
OK, that helps even more. I find that the ACG folks are in Ann Arbor. I am also in the area and may contact them.

Best regards,

Henry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top