Prompt on opening Popup Websites

vb6, ie4

i'm trying to make a browser using the webbrowser control supplied with IE4.  but everytime i go to a site that spawns those annoying popup sites, it has to load IE4 to show the popup site.  i would like to work around this by having my program prompt a msgbox when it detects a popup site.  then i would like it to give me the option of opening the popup site or not.  (this feature is in the program NeoPlanet, which is basically a customized look to IE4.)  does anyone know how to go about doing this?  a full sample code would be great.
Who is Participating?
ikxsoftConnect With a Mentor Commented:
have i timer constantly checking for newly open windows, if it detects one, then either have an option to close it strainght away or let it load!
llcoolmelAuthor Commented:
could you please supply a sample code??  how do you have the timer check for a new browser window and how do you close/load the browser???
Bought This Question.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.