[python-win32] Calling Python functions from Visual Basic
Rasjid Wilcox
rasjidw at openminddev.net
Fri Mar 5 22:48:33 EST 2004
On Saturday 06 March 2004 13:39, Mark Hammond wrote:
>
> > 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?
>
> Generally, yes. The only things I could see that would be done differently
> are:
> * Remove the import of 'ni' - this was a very old Python module.
> * win32com.server.register has a HandleCommandLine() method that would
> generally be used, rather than the com object itself parsing sys.argv -
> although it could still choose to if it desired.
Thanks for that. I'll give it a try.
Cheers,
Rasjid.
--
Rasjid Wilcox
Canberra, Australia (UTC +11 hrs)
http://www.openminddev.net
More information about the Python-win32
mailing list