win32com

floris.vannee at gmail.com floris.vannee at gmail.com
Fri Apr 7 16:36:49 EDT 2006


Thanks :)

For people who are also having this problem. The VB .NET code to import
that COM object is:
dim com_object as object
com_object = CreateObject("Python.TestServer")  'Python.TestServer in
this case, but for different programs, different names of course.

And in order to get it work you need to remove this code of python
line:
_reg_desc_ = "Python Test COM Server"

I dont know why, but it didn't work with that line, and it did work
without the line.

Floris




More information about the Python-list mailing list