[python-win32] Passing Nothing into COM method

2009-10-14 Thread shivisi
I am writing a COM addin, and attempting to trap the ItemAdded/ItemRemoved event in the following object: Application.VBE.Events.ReferencesEvents which is retrieved by passing Nothing as a paramter: Application.VBE.Events.ReferencesEvents(Nothing) Tim Golden wrote in the following post (http://m

Re: [python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events

2009-10-15 Thread shivisi
Passing Application.VBE.Events.ReferencesEvents(None) works (at least at this point). However, when I try to bind to an event class, I get the error below. Any assistance, debugging suggestions, would be greatly appreciated. Thanks. # Code from win32com.client import Dispatch, DispatchWithEvents,

[python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events

2009-10-17 Thread shivisi
ev -Original Message- From: Mark Hammond [mailto:mhamm...@skippinet.com.au] Sent: Sat 10/17/2009 00:38 To: shivisi Cc: python-...@python.org Subject: Re: [python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events Sorry, I did mislead you. After reading

Re: [python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events

2009-10-17 Thread shivisi
Message- From: Mark Hammond [mailto:mhamm...@skippinet.com.au] Sent: Sun 10/18/2009 02:54 To: shivisi Cc: python-win32@python.org Subject: Re: [python-win32] Passing Nothing into ReferencesEvents - resolved, however can't bind events On 18/10/2009 6:30 AM, shivisi wrote: > Thanks for ta