Starting a Python COM server from vb?
Robert M. Emmons
RobMEmmons at cs.com
Mon Apr 12 20:34:26 EDT 2004
> Pretty much what it says.
>
> I've a number of Python services that I'd like to use from vb. The
> hitch is ensuring the services are started before the VB program tries
> to use them.
>
> Startup folder isn't a good solution, as folks sometimes putter with
> their startup folder options.
>
> Is it as simple as exec()-ing the service script? That IS workable,
> provided VB's exec() function plays nice and allows the service to run.
Maybe I missunderstand -- but as far as I know there are NO reasons to
RUN anything before you use it. Only thing you need to do is to
register your Python COM servers.
When you use them in VB, just instantiate them like any other COM
object. Python is not special in any way.
Rob
More information about the Python-list
mailing list