Re: [python-win32] Problem Automating IE on W7

2011-05-04 Thread Jeff Peery
List Subject: Re: [python-win32] Problem Automating IE on W7 Jeff Peery wrote: > > > I'm using the code pasted below to print a document with internet > explorer. The code worked great on my XP machine. I moved it to my W7 > machine and it gives the error below. The weird th

[python-win32] Problem Automating IE on W7

2011-05-04 Thread Jeff Peery
Hello, I'm using the code pasted below to print a document with internet explorer. The code worked great on my XP machine. I moved it to my W7 machine and it gives the error below. The weird thing is that it works great if printing a html doc from the web (such as www.google.com

Re: [python-win32] permissions error

2010-02-13 Thread Jeff Peery
les in the appdata folder.   thanks for those who offered advice, Jeff --- On Fri, 2/12/10, Preston Landers wrote: From: Preston Landers Subject: Re: [python-win32] permissions error To: "Jeff Peery" Date: Friday, February 12, 2010, 10:30 PM I don't know if this will work but one w

Re: [python-win32] permissions error

2010-02-12 Thread Jeff Peery
eff --- On Fri, 2/12/10, Preston Landers wrote: From: Preston Landers Subject: Re: [python-win32] permissions error To: "Jeff Peery" Date: Friday, February 12, 2010, 10:30 PM I don't know if this will work but one workaround may be to set a registry key: HKLM\\SOFTWARE\\Py

Re: [python-win32] permissions error

2010-02-12 Thread Jeff Peery
folder or program data folder?   thanks, Jeff --- On Fri, 2/12/10, Preston Landers wrote: From: Preston Landers Subject: Re: [python-win32] permissions error To: "Jeff Peery" Date: Friday, February 12, 2010, 7:24 PM Have you tried manually granting a write permission for your us

Re: [python-win32] permissions error

2010-02-12 Thread Jeff Peery
hello, yes, I am using 64 bit vista. and I am using py2exe to distribute my app. At the moment I'm dead in the water unti lI resolve this issue. Does anyone know of a quick fix?   thanks, Jeff --- On Fri, 2/12/10, Tim Roberts wrote: From: Tim Roberts Subject: Re: [python-win32] permissions e

[python-win32] permissions error

2010-02-11 Thread Jeff Peery
Hello, I'm running on vista and I'm getting a permissions error from win32com. I attached a print screen displaying the error message. It appears win32com is trying to write a file and vista UAC is blocking it. Why is win32com trying to do this and how do I fix it? the only method I am using fr

Re: [python-win32] win32com on vista

2009-12-04 Thread Jeff Peery
e Py2exe docs discussed only EnsureDispatch.   thanks! Jeff --- On Thu, 12/3/09, Mark Hammond wrote: From: Mark Hammond Subject: Re: [python-win32] win32com on vista To: "Jeff Peery" Cc: python-win32@python.org Date: Thursday, December 3, 2009, 5:06 PM On 4/12/2009 11:38 AM, J

[python-win32] win32com on vista

2009-12-03 Thread Jeff Peery
hello, I've got a wxpython app that uses win32com and I've packaged it all up using py2exe. I'm having a problem because the win32com.client.gencache.py appears to be creating some directories/files in the installation directoy (which is under program files) and a non admin user doesn't have wri

[python-win32] thread not posting events woes

2009-09-09 Thread Jeff Peery
Hello, I'm having trouble catching events from my multi threaded app. I'm using wxpython and running several threads under the main wxApp thread. One of the threads creates a COM object for an OPC server.  I'm using dispatchWithEvents() to get the COM object. When I do this the server will post

[python-win32] dispatchwithevents not catching events

2009-09-02 Thread Jeff Peery
Hello, I'm having trouble catching events when I use dispatchwithevents.   I have a wxapp that uses com and I catch OPCDataChangeEvents (OPC, OLE for process automation) from an opc server. things work quite well in this case, i.e., I am able to catch the data change events.    The problem happen

Re: [python-win32] problem accessing OPC clients from thread

2007-12-13 Thread Jeff Peery
I forgot to attach the code. here it is. Thanks. Jeff Graham Bloice <[EMAIL PROTECTED]> wrote: Jeff Peery wrote: > thanks for the beta! > > I think my main problem is that I don't really understand this code; I > didn't write it. Could you recommend a

Re: [python-win32] problem accessing OPC clients from thread

2007-12-13 Thread Jeff Peery
ass. Do I need to post an event from the GroupEvents.OnDataChange method to the wxApp so that I can catch the data change event in the wxApp? How is this typically done? Big Thanks! Jeff Graham Bloice <[EMAIL PROTECTED]> wrote: Jeff Peery wrote: > thanks for the bet

Re: [python-win32] problem accessing OPC clients from thread

2007-12-03 Thread Jeff Peery
: Tim Roberts <[EMAIL PROTECTED]> Subject: Re: [python-win32] problem accessing OPC clients from thread To: Python-Win32 List Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8 Jeff Peery wrote: > > Graham, > > thanks for the beta! I think my

Re: [python-win32] problem accessing OPC clients from thread

2007-12-03 Thread Jeff Peery
change event? Thanks again, I appreciate your help! Jeff Jeff Peery wrote: > Hello, > I'm getting in a bit over my head here and need some help. I'm running > a simple wxpython application that runs a thread in the background. > The thread is supposed

Re: [python-win32] problem accessing OPC clients from thread (Graham Bloice)

2007-12-03 Thread Jeff Peery
TED]> Content-Type: text/plain; charset=ISO-8859-1 Jeff Peery wrote: > Hello, > I'm getting in a bit over my head here and need some help. I'm running > a simple wxpython application that runs a thread in the background. > The thread is supposed to read and

[python-win32] problem accessing OPC clients from thread

2007-12-01 Thread Jeff Peery
Hello, I'm getting in a bit over my head here and need some help. I'm running a simple wxpython application that runs a thread in the background. The thread is supposed to read and write data to/from an OPC server - which I use to communicate to a PLC (programmable logic controller, for proces

Re: [python-win32] win32com problem with LabVIEW (newbie question)

2005-06-24 Thread Jeff Peery
Hello, I am fairly new to python. I use wx python at work to make different pieces of engineering code. I am very interested to learn about how to communicate between python and labView... this discussion caught my eye (Re: win32com problem with LabVIEW). Could someone give me an idea of where to

[python-win32] frame within frame placement?

2005-05-27 Thread Jeff Peery
Hello, I am working on an application (wxpython 2.5, python 2.4, windows XP) and I am having trouble. I would like to place a frame within a frame and I would like it to be constrained so that the child frame cannot move out of the parent frame. What is the best way to do this? Thanks. Jeff

RE: [python-win32] (no subject)

2005-01-26 Thread Jeff Peery
this is bad form, I would rather pass the variables to the wxDialog1. thanks. Jeff -Original Message- From: Steve Holden [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 10:00 AM To: Jeff Peery Subject: Re: [python-win32] (no subject) Perhaps you could post the code of your

[python-win32] (no subject)

2005-01-26 Thread Jeff Peery
Hello, I am using wxpython and I am having trouble passing variables from one frame to another. If I have a parent frame – frame1 – and I call a dialog using the following text:       dlg = wxDialog2.wxDialog2(self)     try:     dlg.ShowModal()     finally:   

[python-win32] thread?

2004-12-02 Thread Jeff Peery
Hello, I am trying to get a thread and timer to work, this is my first venture with these things. I attached my code below. Basically my problem is with the line:   Timer(2, wxPostEvent(window, ResultEvent("Sleep"))).start()   I want the timer to send the event result “sleep” after two