>>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" <[EMAIL PROTECTED]>
Subject: Re: [python-win32] python - visualbasic integration
To: "Amit Antebi" <[EMAIL PROTECTED]>, <python-win32@python.org>
Message-ID: <[EMAIL PROTECTED]>
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...
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32