I've come across something puzzling about static dispatch. I've used
win32com a bit and normally understand what is going on, but I've stubed
my toe on something here that I just can't understand. It almost looks
like a bug ...
Dynamic dispatch works:
(First I go to 'C:\Python24\Lib\site-
Michael Thompson wrote:
>
> Great. So dynamic dispatch works just fine. Except, of course, I can't
> get the 'constants' and its a bit inefficient, so I tried switching to
> static dispatch:
>
> >>> dispatch = win32com.client.gencache.EnsureDispatch
> >>> xlApp = dispatch('Excel.Ap
I'm using win32com to manipulate the DOM inside of Internet
Explorer. Something like this:
#---
import win32com.client
ie = win32com.client.Dispatch('InternetExplorer.Application')
ie.Navigate('about:about')
body = ie.Documen
> I'm using win32com to manipulate the DOM inside of Internet
> Explorer. Something like this:
>
> #-
> --
> import win32com.client
>
> ie = win32com.client.Dispatch('InternetExplorer.Application')
> ie.Navigate('about:about')
Hi!
I'm running LabVIEW as a ActiveX server and access it from Python (which is
a quit new language for me). Now I have encountered a problem when trying to
read an output control that is a RefNum (actually a strict type def that I
think is based on a DataLogRefNum containing a Enum). I get the fo