[python-win32] R: Acrobat Reader

Mirco Furlan (Visionee) mirco.furlan at visionee.com
Wed Apr 5 16:44:03 CEST 2006


here my code:

import win32com.client

pdf = win32com.client.Dispatch('AcroPDF.PDF')
pdf.LoadFile(r'K:\test.pdf')

Note that the activeX instance is correctly created, the method LoadFile is
recognized and the file 'test.pdf' exists. After the last line of code
python crashes.
I'm using python 2.4 and Acrobat Reader 7.


>Can you provide a code sample for review?


>Regards,

>Filip




More information about the Python-win32 mailing list