Re: [python-win32] COM: change in Python object does not get registered

2007-03-04 Thread Beat Niederhauser
Mark Hammond escreveu: > > You need to either restart excel, or arrange for your module to be > 'reload'ed. One way would be to add a 'reload' method to your object. For > example, the .py code might have: > > def reload(self): > import mymod > reload(mymod) > > And your VB code cou

Re: [python-win32] COM: change in Python object does not get registered

2007-03-04 Thread Mark Hammond
> I am completely new to COM and have trouble getting changes > in python code be passed to the COM interface. When > I apply changes to a Python class which is exposed as a COM > object, these changes somehow don't get registered correctly - > meaning that I cannot see the changes when accessing t

Re: [python-win32] COM: change in Python object does not get registered

2007-03-04 Thread Michel Claveau
Hi! You must exit Excel, to register COM serveur, run again Excel. Change on COM server are not view by Excel, as long as Excel is not closed, and re-open. @+ Michel Claveau ___ Python-win32 mailing list [email protected] http://mail.python.or