[python-win32] Python-win32 Digest, Vol 33, Issue 7

Tony C cappy2112 at gmail.com
Wed Dec 7 03:19:27 CET 2005


>>Certainly COM would work.  In this case your VB EXE would use CreateObject
>>to create a Python implemented object.

As what type of Python Object?

I have the VB6 ide open, and the references Browser as well, there is no
generic Python object to include into a VB project.

Which means one would have to create a Python COM server and Type library
first, before being able to reference it from the VB IDE.

Even though I have Python Programming in Win32, I'm not sure what needs to
be done to make a minimal Python COM server that can be called from VB.

Also, creating a type library requires using Visual C- which isn't a
problem, it's the language of the IDL required to create the TLB that I
don't udnerstand.




Message: 7
Date: Wed, 7 Dec 2005 09:00:54 +1100
From: "Mark Hammond" <mhammond at skippinet.com.au>
Subject: Re: [python-win32] python - visualbasic integration
To: "Amit Antebi" <amit_antebi at yahoo.com>, <python-win32 at python.org>
Message-ID: <DAELJHBGPBHPJKEBGGLNAEJHIMAD.mhammond at skippinet.com.au>
Content-Type: text/plain; charset="us-ascii"

Certainly COM would work.  In this case your VB EXE would use CreateObject
to create a Python implemented object.  In response to GUI events, the VB
code can call Python methods and use the results.  For debugging, you should
find any of the professional IDE packages that support remote process
debugging can cope with that - I use Komodo for that kind of thing...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20051206/b965e137/attachment.html


More information about the Python-win32 mailing list