473,320 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WebBrowser control hangs

Hey everyone,

I have an application with a simple built in webbrowser that allows users to click on a piece of data in another section of the app, and the webbrowser will open a URL for more information. However, after going thru several of these URLs, the webbrowser hangs and the entire app needs to be closed and restarted.

FWIW, these URLs also cause IE to hang if you view them there. Here are some example URLs:

http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=gene&term=ABCB1%5Bsym%5D%20ho mo%20sapiens%5Borganism%5D
http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=gene&term=ABCC2%5Bsym%5D%20ho mo%20sapiens%5Borganism%5D
http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=gene&term=CDA%5Bsym%5D%20homo %20sapiens%5Borganism%5D
http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=gene&term=CYP1A2%5Bsym%5D%20h omo%20sapiens%5Borganism%5D
http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=search&db=gene&term=CYP2A6%5Bsym%5D%20h omo%20sapiens%5Borganism%5D

I've also replicated this problem by creating a simple, stand alone Windows form with a webbrowser control in VS.

Any ideas on how to fix this? The coding behind my webbrowser is C#. The webbrowser has no other controls or options so I'm hoping a simple method behind the scenes can take care of this. I also don't want the user to have to disable caching in IE which was a recommendation I got on another board.

Thanks for any help you might have!
Mar 26 '08 #1
1 2514
balabaster
797 Expert 512MB
First up - there's a space between the %5 and the D at the end of the last two URLs which shouldn't be there...remove it.

Secondly, my browser works just fine...none of those URLs crash (after I delete the space). It looks to me like if it still occurs after you remove those spaces that your IE might need reinstalling?
Mar 27 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Noozer | last post by:
I've got a WebBrowser control (AxBrowse - VCMAXB.DLL) and I'm having a few difficulties with it. Just looking for a few pointers, not whole solutions here. I've tried looking at the MSDN help files...
1
by: Vetrivel | last post by:
Application architecture : Develop interface between two existing systems, a. Enterprise CRM system b. Web based intranet system. Environment : Intranet Server : IIS and ASP. Script :...
9
by: ASP .NET Newbie | last post by:
How can I run a WebBrowser control using ASP.NET/VB.NET? I know I can use the WebClient to get the page data, but I need to be able to use the WebBrowser (AxWebBrowser)? Thanks, Chad
0
by: Jim Hubbard | last post by:
How would I implement the IDispatch interface to handle the following in VB.Net <BEGIN> Controlling Download and Execution The WebBrowser Control gives you control over what it downloads,...
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
8
by: Prosperz | last post by:
Hi, I would like to make thumbnails of web page by capture content of a WebBrowser. By example, capture http://www.google.com. I used WebBrowser control with Framework 2.0. I try this : ...
11
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
18
by: Zytan | last post by:
I have multiple threads writing to WebBrowser (using a function that checks InvokedRequired, and if so, invokes itself on the WebBrowser thread) and they are getting deadlocked. They only...
5
by: kimiraikkonen | last post by:
Hi, I couldn't find a necessary class which shows when mouse hovers on a link in Webbrowser control. Think of there's a status bar(text), when mouse comes on a link, the URL must be shown in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.