Hi guys, I have a couple of newbie questions, as the win32com stuff has been 
my first exposure to python.

I managed to create python com wrappers with a DynamicPolicy, answering using 
_dynamic_ and I managed to create objects responding to methods declared in 
_public_methods_

I am now trying to create a dynamic proxy in python that I can expose to VBA 
and that can deal with arbitrary attribute assignments dynamically.  I tried 
to implement __setitem__ with the defaul policy, but I don't seem to be able 
to get VBA to see it.  I thought this might work under a dynamic policy, but 
everything gets trapped by _dynamic_ instead.

So my questions are:
* how do you get VBA to leverage __setitem__ and __getitem__ ?
* how can I mix _dynamic_ handling of unknown methods with default handling of 
_public_methods_ ?

thanks in advance for your help.. I am looking forward to throw away 90% of my 
VBA code.

Ivan

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to