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 604469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:02:31+00:00 2026-05-13T17:02:31+00:00

we have embedded the .NET WebBrowser control (actually two in different tabs, if that

  • 0

we have embedded the .NET WebBrowser control (actually two in different tabs, if that for some reason may be important) in a dialog and are running into a strange problem. I have not been able to reproduce the problem outside the complete application, so I assume we’re doing something with side-effects elsewhere. Because of this, I am not able to post any code to reproduce the problem, but I was still hoping that someone may at least have a suggestion on how to debug the situation and perhaps find the reason for the component to fail.

Usually, everything works as expected. We add the control to our dialog and invoke its Navigate method to get an HTML page from a server. In some cases (perhaps 20-25% of the attempts), the control stays blank and keeps displaying the waiting cursor. The problem is not reproducible, when loading the same URL from a standalone IE.

In an attempt to locate the problem, we are logging the Navigating, Navigated, DocumentCompleted, ProgressChanged and StatusTextChanged events. In the situations where it works, we see the Navigating, Navigated and DocumentCompleted events in this order and several ProgressChanged and StatusTextChanged events (with reasonable values) mixed in between.

In the situations where the component fails, only the Navigating event is fired. Both the server log and a network dump confirms however, that the document is requested and delivered correctly from the server. Malformed or illegal content is of course at least a theoretical possibility, but I would have expected at least a Navigated event from the component, before it even tries to analyze whatever the server is delivering. We are also able to reproduce both successful and failing behaviour with exactly the same HTML document.

So back to my original question: The description of the situation is perhaps a little thin and I don’t expect a finished solution for this problem, but can someone perhaps at least suggest where to look and what to look for? I am not too experienced with .NET development, but since the WebBrowser probably is just a thin layer around IE’s ActiveX component, I doubt that I’m able to debug into its internals to find any probable causes for the problem?

  • 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-13T17:02:32+00:00Added an answer on May 13, 2026 at 5:02 pm

    I guess I have to answer myself on this one. Although I’m not very satisfied with workarounds for problems I don’t understand and not even understanding why a workaround works, we managed to modify the code, so that we’re at least not able to reproduce the strange behaviour. The trick was invoking Navigate("about:blank"); before invoking Navigate with the real URL.

    I assume that the workaround solved some kind of timing or concurrency problem.

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

Sidebar

Related Questions

I have a winforms c# app that has an embedded webbrowser control inside it
What is the name of the tool that allowed VB.NET code to have embedded
We have a Windows application on .net 2.0 that uses embedded encrypted database. The
I have an embedded webserver that has a total of 2 Megs of space
I have an embedded flash that is transparent so it looks like part of
We have an embedded device that needs to interact with an enterprise software system.
I have a hidden embedded QuickTime object on my page that I'm trying to
I have written a basic Windows Form app in C# that has an embedded
We have a site hosted in IIS6 that we built using the .NET 1.1
I have a problem with different sound libraries... I use Visual Studio.NET and C#

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.