Hello,

FYI, this is the same Neil Benn who posted a couple of days ago - just from a different address. Thanks for your help Mark, however - I had made a silly mistake, I was passing an instance rather than a class to the DispatchWithEvents call. I didn't understand that the DispatchWithEvents call combines the Event interface and ActiveX component into one component.

However, I have a problem that one of the methods on the ActiveX should show a UI and fire an event. The python code doesn't show the UI and no events get fired. This does the same thing in VB uncles I wait in a polling loop for my call to the ActiveX component and use the ubiquitous DoEvents call in VB6 - is there something which will allow me to yield control to the OS in the same way as VB6 in Python.

I'm guessing that I'm wrestling with a poorly written ActiveX component (exe) but that's the life of someone working in laboratory automation!!

Cheers for your help - I'll even be graceful if Australia manages to retain the ashes next year!!!

Cheers,

Neil

--

Neil Benn
Senior Automation Engineer
Cenix BioScience
BioInnovations Zentrum
Tatzberg 47
D-01307
Dresden
Germany

Tel : +49 (0)351 4173 154
e-mail : [EMAIL PROTECTED]
Cenix Website : http://www.cenix-bioscience.com



_______________________________________________
Python-win32 mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to