[python-win32] Calling Python functions from Visual Basic
Rasjid Wilcox
rasjidw at openminddev.net
Fri Mar 5 06:03:56 EST 2004
I'm looking into the ways of making Python functions available to Visual Basic
6 programs.
So far it seems that I could use:
* COM
* XML-RPC
* SOAP
The former seems to require creating the COM component and registering it as a
service, the latter two require running an XML-RPC or SOAP server.
The advantage of the former I assume is speed, the latter two portability.
Are there any other methods that I have missed?
Also, the only XML-RPC library for VB I could find is vbXMLRPC.dll
(http://www.enappsys.com/backend/vbXMLRPC_Index.jsp). Are there any others?
It does seem that MS has a SOAP library, so there are no issues with that one
(I hope).
In terms of examples for creating a COM object using Python, I have found
http://www.hps1.demon.co.uk/users/andy/pyvb/ which is dated 4 June 1997. Is
this example still valid for current versions of Python and win32all?
Thanks in advance for any feedback,
Rasjid.
--
Rasjid Wilcox
Canberra, Australia (UTC +11 hrs)
http://www.openminddev.net
More information about the Python-win32
mailing list