Load PDF

Pepe Pena jramirez08063 at yahoo.com
Mon Oct 3 06:35:01 EDT 2005


Hello,
 
I am attempting to load a pdf file programatically within Adobe Reader using the Adobe Acrobat 7.0 Browser Control Type Library.  If I run this code PythonWin terminates abruptly, can anyone suggest any changes I should make to the following lines of code, thanks.
 
import win32com.client
test = win32com.client.Dispatch("AcroPDF.PDF.1")
test.LoadFile("D:\\sql.pdf")



		
---------------------------------
Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051003/fedf4e2c/attachment.html>


More information about the Python-list mailing list