Get a reference to the currently running IE ?
O, ic, sorry about that.
you could try something like the following
Public Declare Function FindWindow& Lib "user32" Alias "FindWindowA"
(ByVal lpClassName$, ByVal lpWindowName$)
and then call it like this
hMessageBox = FindWindow("#32770", "WindowName")
I this is what I do when I want to grab a msg box and kill it.
I'm not sure what the lpClassName for IE would be tho
hope it helps.
|