As far as using the student name as the PDF name, you must loop the Students table and grab the Student name in a variable then substitute it for part of the pdf Name argument.
I use this: http://www.lebans.com/repo
So you must copy these DLLs to the same folder as the db.
http://www.lebans.com/Down
Sample DB is attached.
(You must create a "c:\YourFolder\" folder to test this.
Or simply change the code to "c:\" ...to sent the PDF's to your root folder directory.
I am sure you can adapt this to work in your database.
;-)
JeffCoachman
Main Topics
Browse All Topics





by: kelvinsparksPosted on 2009-09-24 at 14:27:33ID: 25418140
In the Line bSetRegValue HKEY_CURRENT_USER, "Software\Microsoft\Window s NT\CurrentVersion\Windows" , "Device", "Acrobat PDFWriter"
You have not chnaged the name of the pdf writer to Adobe PDF - the name of the printer name on your PC the code wants to change your printer to adobe but you've passed an invalid name.
Kelvin