[python-win32] VBA IDE Intellisense to work with python COM server?

2007-01-26 Thread wccppp
Hello, I created a simple COM server following the sample DynamicPolicy.py in Mark's book. When testing it with VBA, I noticed intellisense/calltip does not work. Is this how it is supposed to be? Any way to get it to work? Thank you! -- wcc ___ Py

Re: [python-win32] COM - question about DynamicPolicy.py

2006-03-01 Thread wccppp
That solved the problem.  And I think I got what is the "name" parameter is for now.  Thank you so much Roger!   - wcc On 3/1/06, Roger Upole <[EMAIL PROTECTED]> wrote:You should be able to just change string to os: item = getattr(os, string.lower(name)) Roger__

[python-win32] COM - question about DynamicPolicy.py

2006-03-01 Thread wccppp
Hello group,I was reading Chapter 12 of Python Programming on Win32 and trying to mimic the sample code DynamicPolicy.py.  I wanted to expose methods/properties defined in the module os.  Here is what I did.  I only made very minor changes to the original code.  It seems the COM server was register

Re: [python-win32] Autocad automation via COM: Passing coordinates as arguments (suggested fix within)

2006-02-02 Thread wccppp
; Sent: Thursday, 26 January 2006 6:29 AM> To: python-win32@python.org> Subject: [python-win32] Autocad automation via COM: Passing coordinates > as arguments (suggested fix within)>>> >  From: wccppp <[EMAIL PROTECTED]>> >  Subject: [python-win32] question about COM aga

Re: [python-win32] Autocad automation via COM: Passing coordinates as arguments (suggested fix within)

2006-02-02 Thread wccppp
h I'm not proficient with anyway.  Thanks again,  - wcc On 1/25/06, Dan Glassman <[EMAIL PROTECTED]> wrote: >  From: wccppp <[EMAIL PROTECTED]>>  Subject: [python-win32] question about COM again: variable type?>>  [code]>  ms.AddPoint([0.0, 0.0, 0.0])   # this line

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 15 question about COM again: variable type?

2005-12-12 Thread wccppp
Message: 2Date: Sun, 11 Dec 2005 21:50:23 -0800From: drkick16 < [EMAIL PROTECTED]>Subject: Re: [python-win32] question about COM again: variable type?    (wccppp)To: python-win32@python.orgMessage-ID:< [EMAIL PROTECTED]>Content-Type: text/plain; charset="iso-8859-1

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 15 How do I post and reply message at any time?

2005-12-12 Thread wccppp
Re: How do I post and reply message at any time? (Waylan Limberg)Message: 1 Date: Sun, 11 Dec 2005 22:18:56 -0500From: Waylan Limberg <[EMAIL PROTECTED]>Subject: Re: [python-win32] How do I post and reply message at anytime?To: wccppp < [EMAIL PROTECTED]>Cc: python-win32

[python-win32] question about COM again: variable type?

2005-12-11 Thread wccppp
Hello,I'm having problem implementing a "AddPoint" method in AutoCAD.  From the search I've done,  seems the problem is variable type: I supplied a list as the x,y,z coordinates of a point, why seems what is expected is a Variant (three-element array of doubles). The python code I tested with is:[c

Re: [python-win32] How do I post and reply message at any time?

2005-12-10 Thread wccppp
On 12/9/05, Steve Holden <[EMAIL PROTECTED]> wrote: wccppp wrote:> Hello,>> This must be a stupid question.  But I haven't found the answer for> quite a while.  Here is the problem:>> I posted a question today and Laurent Dufréchou's response answered my >

Re: [python-win32] Python-win32 Digest, Vol 33, Issue 12

2005-12-10 Thread wccppp
Hello, had the same problem, but now it's solved :)Take a look at the code below: class VisualDSP_AppEvents:def OnAppClose(self):print ' Visual DSP++ has been closed, programwill terminate now!'class VisualDSP_ProcessorEvents:def OnHalted(self,ReasonCode,HaltReason): print '

[python-win32] How do I post and reply message at any time?

2005-12-09 Thread wccppp
Hello,This must be a stupid question.  But I haven't found the answer for quite a while.  Here is the problem:I posted a question today and Laurent Dufréchou's response answered my question.  I wanted to reply and say Thank you.  But it seems I have to wait till tomorrow when I receive the daily di

[python-win32] question about pywin32 and COM event again

2005-12-09 Thread wccppp
Hello,I'm learning to use python to automate AutoCAD and I was able to catch the AutoCAD application event using the code below.  But I don't know if I can catch the event from the active document (or drawing) or not.  The AutoCAD.Application has a property of "ActiveDocument" which is the active

[python-win32] COM - respond to other application's event

2005-11-09 Thread wccppp
Hello group, I'm a beginner learning Python.  Trying to automate AutoCAD.  What I wanted to know is how to receive event fired by the AutoCAD application.  When a drawing opening process is done, the application will fire an event EndOpen.  In VBA, I know how to catch and respond to this event.  B