Hi, I'm new at COM. I see this line in the example of Objevent : $SinkObject=ObjEvent($oIE,"IEEvent_","DWebBrowserEvents2") ; Assign events to UDFs starting with IEEvent_I wonder that where DWebBrowserEvents2 comes from. (Where is it when using OLE/COM Viewer ?)Thanks !
Hi, Stilgar
Actually I don't know where this error come from. It's really strange but I used your previous version this error happened when I compiled the script only if I ran from the editor it didn't happen. But this version it happens even I run from the editor >_<
I will send you my script, please check it if you have free time.
Have a nice day.