Niki Spahiev wrote:
I am more interested in wxPython side. I was unable to start
wxPython UI
from COM server (not from excel). Can you share some hints?
Ok, Here goes:
You have to run the test module as follows in a shell:
e:\MyUtils>c:\python22\python TestCom.py --debug
This will register the com server.
Now Open excel and create a macro with the following code:
Sub test()
Set mycom = CreateObject("TestCom.Test")
x = mycom.TryThis()
MsgBox x
End Sub
This will popup a wxPython colour dialog.
Find the test module attached.
Regards
Gerrit
TestCom.py (980 Bytes)
ยทยทยท
-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.