Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
]; python-win32@python.org Subject: Re: [python-win32] (no subject) Alex Denham wrote: Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class

Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
: f = Files[0] Files = [] else: pass self.after(1000, self.filesDropped) [/code] Thanks for everyone's help, Alex Date: Tue, 29 Apr 2008 10:58:17 +0100 From: [EMAIL PROTECTED] CC: python-win32@python.org Subject: Re: [python-win32] (no subject) Alex Denham wrote

[python-win32] (no subject)

2008-04-26 Thread Alex Denham
Hi all, I'm just wondering but when i try to access/update anything on my Tkinter GUI from one particular function, my whole program crashes/freezes with no error. The function is part of a class which handles all the GUI drawing/event handling etc. The function in question gets called from a

Re: [python-win32] Creating python com objects

2008-04-25 Thread Alex Denham
From: [EMAIL PROTECTED] To: python-win32@python.org Date: Thu, 24 Apr 2008 17:25:03 -0400 Subject: [python-win32] Creating python com objects Tim Golden wrote: Alex Denham wrote: Parameters /pDataObj/ : *PyIDataObject ** How do i link the IDataObject to the IDragTarget

Re: [python-win32] Creating python com objects

2008-04-25 Thread Alex Denham
Thats excellent Tim, I was just about to start digging around for information on how to get the data once it's dropped. Thanks for your help Alex Date: Fri, 25 Apr 2008 17:16:34 +0100 From: [EMAIL PROTECTED] CC: python-win32@python.org Subject: Re: [python-win32] Creating python com objects

Re: [python-win32] Creating python com objects

2008-04-24 Thread Alex Denham
know about the pythoncomWrapObject however. From: [EMAIL PROTECTED] To: python-win32@python.org Date: Wed, 23 Apr 2008 21:15:56 -0400 Subject: [python-win32] Creating python com objects Alex Denham wrote: Hi, Anybody happen to know how to go about creating a COM object

Re: [python-win32] Creating python com objects

2008-04-24 Thread Alex Denham
-win32] Creating python com objects Alex Denham wrote: class PyIDropTarget: _public_methods_ = ['DragEnter', 'DragOver', 'DragLeave', 'Drop'] _reg_progid_ = Python.PyIDropTarget _reg_clsid_ = '{0122---C000-0046}' def DragEnter(self, args=None

Re: [python-win32] Apache mod_python win32com

2008-04-24 Thread Alex Denham
Hi, first of all, just import pythoncom directly code import pythoncom /code As far as where to put pythoncom.CoInitialize() I'm not certain but i think at the top (or start) of your whole application.. if it's threaded then call it for each thread (at the start) Initializes the COM library on

[python-win32] Creating python com objects

2008-04-23 Thread Alex Denham
Hi, Anybody happen to know how to go about creating a COM object that RegisterDragDrop() will actually accept? print dropTarget COMObject Python.PyIDropTarget pythoncom.RegisterDragDrop(_id, dropTarget) Traceback (most recent call last): File C:\Python25\DragAndDrop.py, line 82, in module

Re: [python-win32] Creating python com objects

2008-04-23 Thread Alex Denham
be associating the target with that particular window. Have you checked out wxDropTarget? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Denham Sent: Wednesday, April 23, 2008 7:18 AM To: python-win32 Subject: [python-win32] Creating python com objects Hi, Anybody happen to know