visual basic DLL's

Scott Hathaway slhath at home.com
Fri Sep 14 18:22:47 EDT 2001


Visual Basic can only create COM objects, so use the win32all extentions and
you can easily get at the public methods and properties.

You need the win32 extentions from ActiveState.

import win32com
myObject = win32com.client.Dispatch('your.com.object')
myObject.property = value
myObject.method(param1,param2)

HTH,

Scott

"gs" <garth.scheck at intp.com> wrote in message
news:5270853d.0109141153.54b0f74c at posting.google.com...
> Does Python support DLL's created in Visual Basic?  If so does anyone
> have an example of how to import a Visual Basic DLL?





More information about the Python-list mailing list