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)

Re: [python-win32] (no subject)

2008-04-29 Thread Alex Denham
MAIL PROTECTED]; 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 >

[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 w

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 obje

Re: [python-win32] Creating python com objects

2008-04-25 Thread Alex Denham
Thanks for the help. Alex > 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 > >&

Re: [python-win32] Creating python com objects

2008-04-24 Thread Alex Denham
programming in general. Thanks Tim, and everyone else on the mailing list. Alex > Date: Thu, 24 Apr 2008 20:28:42 +0100 > From: [EMAIL PROTECTED] > CC: python-win32@python.org > Subject: Re: [python-win32] Creating python com objects > > Alex Denham wrote: > > > >

Re: [python-win32] Apache & mod_python & win32com

2008-04-24 Thread Alex Denham
Hi, first of all, just import pythoncom directly import pythoncom 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 the curr

Re: [python-win32] Creating python com objects

2008-04-24 Thread Alex Denham
Re: [python-win32] Creating python com > objects> > Alex Denham wrote:> > class PyIDropTarget:> > _public_methods_ = > ['DragEnter', 'DragOver', 'DragLeave', 'Drop']> > _reg_progid_ = > "Python.PyIDropTarget"> > _re

Re: [python-win32] Creating python com objects

2008-04-24 Thread Alex Denham
2:30 -0400 > Subject: [python-win32] Creating python com objects > > Alex Denham wrote: > > class PyIDropTarget: > _public_methods_ = ['DragEnter', 'DragOver', 'DragLeave', 'Drop'] > _reg_progid_ = "Python.PyIDropTarget&qu

Re: [python-win32] Creating python com objects

2008-04-24 Thread Alex Denham
thing to register it, then i tried dropTarget = win32com.client.Dispatch("Python.PyIDropTarget") I didn't 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]

Re: [python-win32] Creating python com objects

2008-04-23 Thread Alex Denham
a com object. The drop target instance would 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-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 pythoncom.RegisterDragDrop(_id, dropTarget) Traceback (most recent call last): File "C:\Python25\DragAndDrop.py", line 82, in main() File "C:\Python25\DragA

[python-win32] Drag and Drop issues

2008-04-22 Thread Alex Denham
Hi, I'm trying to implement a drag and drop feature in my Tkinter based gui. I want to be able to drag a file from windows (explorer/desktop etc) into my program. Then i need my program to get the filepath for the file that was dropped. I've tried to search all over the internet, in books and i