473,395 Members | 1,931 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,395 software developers and data experts.

unhandled AV using webBrowser

Hi,

I use VS 2005 beta2. On existing project I added a new form with a
webBrowser on it. When the webbrowser is used then at shutdown time of my
application I have unhandled AV,: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

The debugger does not stop on some code line. So it seems something only in
IDE. When I click 'ok' and then F5 the application terminate normally. Also
if I run the realease version outside de debugger no AV is trown.

When I try the webbrowser on a new project then all is working fine, so I
cannot emulate it on a simple way.

I'm just beginning in C# so I dont know where to start search at. The
project is based on WeifenLuo.WinFormsUI.Docking, but of course I dont know
if that has something to do with it.

Iif someone can advice on where to start debugging it will be very
appreciated.

--
rgds, Wilfried
http://www.mestdagh.biz
Nov 17 '05 #1
2 1368
Hi,

I just tryed again with a new application, and created a second form with a
webBrowser sitting on it. I activate it with this code:

private void testToolStripMenuItem_Click(object sender, EventArgs e)
{
Form2 F = new Form2();
F.ShowDialog();
}

So nothing special on it. When I do this, close it, then quit the
application then I have same error. So something in the WebBrowser wrong ?
Nov 17 '05 #2

"Wilfried Mestdagh" <Wi**************@discussions.microsoft.com> wrote in
message news:98**********************************@microsof t.com...
Hi,

I use VS 2005 beta2. On existing project I added a new form with a
webBrowser on it. When the webbrowser is used then at shutdown time of my
application I have unhandled AV,: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.

The debugger does not stop on some code line. So it seems something only
in
IDE. When I click 'ok' and then F5 the application terminate normally.
Also
if I run the realease version outside de debugger no AV is trown.

When I try the webbrowser on a new project then all is working fine, so I
cannot emulate it on a simple way.

I'm just beginning in C# so I dont know where to start search at. The
project is based on WeifenLuo.WinFormsUI.Docking, but of course I dont
know
if that has something to do with it.

Iif someone can advice on where to start debugging it will be very
appreciated.

--
rgds, Wilfried
http://www.mestdagh.biz


Please post your Beta2 questions to the forums http://forums.microsoft.com
these are specially set-up to help you with Whidbey Beta issues.

Willy.
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matt | last post by:
Hi group, Here's a problem I've been trying to solve for the past several weeks. I have the standard WebBrowser object added to a form so it can access websites, and I have it load a default...
7
by: Doe | last post by:
Okay, I've given up on using the "new" WebBrowser in 2005 to do what I want to do -- tabbed browsing. It seems I really need RegisterAsBrowser and Application to get each instance of a browser...
0
by: Dean Hallman | last post by:
Hello, I am developing a BHO that should add a custom HTTP header on a specific domain only. Don't want the header globally, otherwise I could just add a registry key. So, on...
4
by: Hexman | last post by:
Code below ---- I've asked a similar question on this forum earlier. This is a slightly different situation. Previous Question ---- I'm trying to save some specific web pages to disk as...
6
by: =?Utf-8?B?U2FtZWVrc2hh?= | last post by:
Hi, I want to write a simple .net program to open a URL, fill in fields, and click on a button to submit it using .net 1.1 framework. Can someone help in suggesting the libraries I should use?...
1
by: JP2006 | last post by:
I'm trying to write a control that will take a screen capture of a particular website when a user submits a form in a web application; one of the form fields is for a URL - the control needs to get...
6
by: Leon | last post by:
Hi there, I am trying to use the WebBrowser Control in a form which is being started in an own thread by the main form of my application. Unfortunately I am always getting an error in...
0
by: =?Utf-8?B?Q29kZVJhem9y?= | last post by:
I am converting a windows application which contains a web browser control into an ASP.net application. The Windows project references all manner of html controls in the WebBrowser control and...
3
by: TedTrippin | last post by:
Hi, Background - I've create a windows application in VS and added a WebBrowser component and all works well. I'm now trying to do this programmatically. My application now listens on a socket...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.