[python-win32] ActiveX components with Events

Hihn, Jason Jason.Hihn at verint.com
Fri Dec 17 16:00:56 CET 2004


I will attempt to use my psychic powers and read into this situation
more than you have told.

That ActiveX is coded in VB, hence the OCX. The VB is calling
form.show(). I bet (if all previous assumptiona are correct) that you
could fix the subliminal message by calling form.load()

I will stop now before people start thinking that I am proud of knowing
VB.

>
>           Sorry that was a bad explanation - the control _is_ an
ActiveX
> exe - not an ocx - it simply brings up a form (which in actual fact I
> then hide immediatly, I can't stop the form appearing in the first
place
> - it has to appear for a few millisecs like a subliminal message).
The
> component is an out of process exe - I did find something like
DoEvents
> in pythoncom.PumpWaitingMessages - however I still can't get the
> win32com/python interation working, events are not simply not fired in
> my code.
>
>     I think that I will have to write a thin wrapper in VB or C# to
> access the underlying ActiveX exe (and protect the exe from the
> vagarities of the interface) which can then be accesssed with win32com
-
> bit of a pain because it means that I have a maintenance issue (I work
> in a pure python shop and VB/C# code cannot be maintained by anyone
> except for me) but hey, its a protection against future redundancies
> <joke>!  However if you know any gotchyas with ActiveX exe/win32com
> integration that I could look out for then that would be great.
>
>     Thanks for your help.
>
> Cheers,
>
> Neil
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32



__________________________________________________________________________________________
This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or
entity(ies) named above.  If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient), you may not use, copy, disclose or distribute to anyone this message or any information contained in this message.  If you have received this electronic message in error, please notify us by replying to this e-mail. (1)


More information about the Python-win32 mailing list