Ask a Question related to ASP.NET Web Services, Design and Development.
-
ss yy via .NET 247 #1
Events don't trigger
In my C# code I am finding all of the open IE windows in a loopand assigning their HWND to an object or this:
SHDocVw.InternetExplorerie=(SHDocVw.InternetExplor er)shellWindows.Item(i);
if I say something like this in the loop ie.quit(); then all ofthe windows will be closed successfully. But in fact what I wantto do is to assign each windows' ProgressChange event to afunction as such:
ie.ProgressChange += newSHDocVw.DWebBrowserEvents2_ProgressChangeEventH andler(test1);
as you can clearly see "test1" is the function that is supposedto be triggered while any of the ie windows are browsing. Thefunction triggers initially "sometimes" but after you visit acouple of pages for a while it just stops working and won'ttrigger anymore. It even sometimes won't work from the startup.
I have tested this code on only one ie window too but I got thesame result.
On the other hand ie.quit(); always works no matter how many IEwindows are open or if you're browing any page or anything.
Any help would be greatly appreciated
--------------------------------
From: ss yy
-----------------------
Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])
<Id>JuOH6qtgWUmhNoylxrX4Bw==</Id>
ss yy via .NET 247 Guest
-
Why don't child control events trigger OnBubbleEvent?
I have a control which contains a collection of another control. The members of the collection can contain child controls themselves, but these... -
XML.TRIGGER
Hello. I have an XML connector that I'm using a tigger event on. I was wondering if anyone knows a way for me to check when this completes. I... -
Trigger
I have three tables: class - table of classes ---------- classID className classtypeID classtype - table of class types -------------- -
using currentTime to trigger events on the stage
Here's a frame script that I've been working on to trigger events on the stage that synch with a quicktime video. This code sort of works but the... -
Trigger key
Hi, I need to create a insert trigger so that when a new row is inserted in table A then the same row is inserted in table B on a remote server....



Reply With Quote

