[python-win32] Load PDF

Pepe Pena jramirez08063 at yahoo.com
Mon Oct 3 12:33:28 CEST 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-win32/attachments/20051003/883f6c9b/attachment.htm


More information about the Python-win32 mailing list