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
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
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.
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
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
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
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
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
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
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
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,
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
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
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
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
15 matches
Mail list logo