Starting a Python COM server from vb?
U-CDK_CHARLES\Charles
"Charles Krug" at cdksystems.com
Tue Apr 13 09:34:09 EDT 2004
On Mon, 12 Apr 2004 19:34:26 -0500, Robert M. Emmons <RobMEmmons at cs.com> wrote:
>
>> 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
How do I ensure that the service is registered? Does this need to
happen after every bootup?
Yes, I AM confused about Win32 services, thank you for noticing :-)
Charles
More information about the Python-list
mailing list