[python-win32] [Tutor] Load PDF

bob bgailer at alum.rpi.edu
Mon Oct 3 18:43:14 CEST 2005


I am moving this to the python-win32 list where we can better handle it.
Please send further replies there.

At 03:41 AM 10/3/2005, Pepe Pena wrote:
>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")

I confirm the behavior. I have no explanation. 



More information about the Python-win32 mailing list