Information générale
Catégorie:
COM/DCOM et OLE Automation
Hi Thomas,
>Just a shot from the hip [not tested!]:
If you hook into IE or define your own Browser as Standard Browser you should be able to stop some of the popups without depending on the timer method. Check before IE sets itself to .visible and cancel. But still you would have the transfer load...
Also to explain more the hooking I'm looking for:
Application (blocker) can be running in different computers with different window versions and with different browsers = IE OR some similiar like netscape or opera... You just don't know. Event there is a majority using (I think) IE, you have to take care other browsers too. In this case windows hooking might be the right answer. If we just drop other browsers and consentrate to the IE - I can imagine two possibilities to prevent IE window/popup to be opened 1) You have to have timer to follow when instance of IE is started and then bind events of that IE instance and block if needed. With this solution , I think there would be a timing issue - some times IE/popup is opened (for a fraction) before timer catches it and the next solution might be still the right answer-> 2) Windows global hook. 3) or maybe some other thing (hopefully easier), even discussed in this thread but haven't internalized it yet.
AT
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement