Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6669071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:06:31+00:00 2026-05-26T03:06:31+00:00

I am using the System.Windows.Forms.WebBrowser control to visit URLs. Certain URLs trigger popups which

  • 0

I am using the System.Windows.Forms.WebBrowser control to visit URLs. Certain URLs trigger popups which open in IE rather than in the WebBrowser. I don’t care much where they open. But somehow finding out the URLs of the popups is the most important goal. I keep seeing references to “NewWindow2” event on the web. I’m not sure how related it is, but I don’t know how to use it/where to find it, since WebBrowser does not have a NewWindow2 event, only a NewWindow event.

Any ideas?

Thanks!

EDIT

The Web_V1.NewWindow event works only to a degree. Not all popups are being detected. And some URLs only come up as “about:blank”. Ex. Use it on http://www.thedailybeast.com/. (Anybody know any other sites with notorious amounts of popups?)

Does anybody know a catch-all way to detect the resulting page of a WebBrowser popup?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:06:32+00:00Added an answer on May 26, 2026 at 3:06 am

    Here is a previously answered question that I believe will give you the solution. (Scroll down the code window for the C# version).

    System.Windows.Forms.WebBrowser open links in same window or new window with same session

    Perhaps this project will help you with your goals to handle popups:
    http://www.codeproject.com/KB/cpp/ExtendedWebBrowser.aspx#GoalBlock

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using the System.Windows.Forms.WebBrowser control, is there a way to control which version of
I'm using a System.Windows.Forms.WebBrowser control next to textboxes with the left margins of each
I am working on a simple chat application using a System.Windows.Forms.WebBrowser Control to display
I am using System.Windows.Forms.WebBrowser control in C# for displaying some pages. I want to
I'm currently using System.Windows.Forms webbrowser control to automate a webpage. Everything works fine to
I am currently using the control System.Windows.Forms.WebBrowser to create an Wysiwyg editor in a
I am using the System.Windows.Forms.WebBrowser object for displaying and printing a report. Unfortunately the
I'm using the System.Windows.Forms.WebBrowser , to make a view a-la Visual Studio Start Page.
I'm using How to clear System.Windows.Forms.WebBrowser session data? and it works as long as
I can already do: using System.Windows.Forms; Button b; or: System.Windows.Forms.Button b; but I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.