[python-win32] Acrobat Reader

2006-04-05 Thread Mirco Furlan (Visionee)
I'm trying to use an instance of Adobe Acrobat Reader. I can successfull create an instance with win32com.client.Dispatch, but when I try to load a document, python crashes! I had version 7 of Reader and I tried to install an older version (6.1), but same result. I would use it to print pdf

Re: [python-win32] Runnin Python app as service with separate console

2006-04-05 Thread Robert Brewer
Title: RE: [python-win32] Runnin Python app as service with separate console Byron Morgan wrote: I have a robust, stable Python script that runs 24-7, crunching a telnet feed of real-time data. Problem is, it has to run in a dos console window on the desktop. I would like to run it as a

Re: [python-win32] Runnin Python app as service with separate console

2006-04-05 Thread Mark Hammond
I have a robust, stable Python script that runs 24-7, crunching a telnet feed of real-time data. Problem is, it has to run in a dos console window on the desktop. I would like to run it as a service, If it must run on the desktop of the logged in user, then this is not what services are for.

Re: [python-win32] Garbage collection of dispatched classes withdispatched classes

2006-04-05 Thread Mark Hammond
Hi, I'm hoping someone might provide some COM dispatching insights as I'm relatively new to it in Python. Does using static binding provide for better garbage collection when the dispatched class has dispatched classes of it's own? Nope - it should make no difference. The nitty

[python-win32] R: Acrobat Reader

2006-04-05 Thread Mirco Furlan (Visionee)
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

Re: [python-win32] Garbage collection of dispatched classes withdispatched classes

2006-04-05 Thread Metz, Bobby W, WCS
Thanks Mark. I've been using Dispatch which starts new if my user isn't already active in HelpDesk. Unfortunately I have to use the same instance as the user since the add-on I'm writing presents info not available in HelpDesk based on what the user has selected. Fortunately HelpDesk does have

Re: [python-win32] Acrobat Reader

2006-04-05 Thread Filip Van Raemdonck
Hi, On Wed, Apr 05, 2006 at 09:15:16AM +0200, Mirco Furlan (Visionee) wrote: I'm trying to use an instance of Adobe Acrobat Reader. I can successfull create an instance with win32com.client.Dispatch, but when I try to load a document, python crashes! I had version 7 of Reader and I tried to

Re: [python-win32] R: Acrobat Reader

2006-04-05 Thread Bob Gailer
Mirco Furlan (Visionee) wrote: here my code: import win32com.client pdf = win32com.client.Dispatch('AcroPDF.PDF') pdf.LoadFile(r'K:\test.pdf') Boy Don't Try This At Home. I did and got the BSOD! ___ Python-win32 mailing list

Re: [python-win32] Runnin Python app as service with separate console

2006-04-05 Thread Bob Gailer
Morgan, Byron wrote: I have a robust, stable Python script that runs 24-7, crunching a telnet feed of real-time data. Problem is, it has to run in a dos console window on the desktop. I would like to run it as a service, and be able connect to it and monitor performance with a separate console

Re: [python-win32] R: Acrobat Reader

2006-04-05 Thread Metz, Bobby W, WCS
Crashes my Python 2.4, but not the box (XP). FYI, AcroPDF.PDF isn't valid pre-7.0 it seems. B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Gailer Sent: Wednesday, April 05, 2006 10:47 AM To: Mirco Furlan (Visionee) Cc: python-win32@python.org

Re: [python-win32] Acrobat Reader

2006-04-05 Thread Tim Roberts
On Wed, 5 Apr 2006 09:15:16 +0200, Mirco Furlan (Visionee) [EMAIL PROTECTED] wrote: I'm trying to use an instance of Adobe Acrobat Reader. I can successfull create an instance with win32com.client.Dispatch, How did you do that? To my knowledge, the only way to do that is to use AcroExch.App,

Re: [python-win32] Acrobat Reader

2006-04-05 Thread Waldemar Osuch
On 4/5/06, Tim Roberts [EMAIL PROTECTED] wrote: On Wed, 5 Apr 2006 09:15:16 +0200, Mirco Furlan (Visionee) [EMAIL PROTECTED] wrote: I'm trying to use an instance of Adobe Acrobat Reader. I can successfull create an instance with win32com.client.Dispatch, How did you do that? To my

Re: [python-win32] Runnin Python app as service with separate console

2006-04-05 Thread Waldemar Osuch
Morgan, Byron wrote: I have a robust, stable Python script that runs 24-7, crunching a telnet feed of real-time data. Problem is, it has to run in a dos console window on the desktop. I would like to run it as a service, and be able connect to it and monitor performance with a separate

Re: [python-win32] Acrobat Reader

2006-04-05 Thread Metz, Bobby W, WCS
FYI From the Adobe developer guide... Use of the ActiveX(r)Control or Netscape plug-in to display a PDF file in an external application besides Internet Explorer or Netscape. The methods used by Acrobat to display a PDF file in Netscape and Internet Explorer are intended only for use with these

[python-win32] Re: Acrobat Reader

2006-04-05 Thread Roger Upole
Tim Roberts wrote: [EMAIL PROTECTED] wrote: I'm trying to use an instance of Adobe Acrobat Reader. I can successfull create an instance with win32com.client.Dispatch, How did you do that? To my knowledge, the only way to do that is to use AcroExch.App, which is only exposed by the full