473,320 Members | 1,695 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.

unhandled exception closing form

guy
i have a fairly complex form that is shown using
ShowDialog - ie modally. Clicking close in one paricular
situation it it gives an unhandled exception "No value at
index 0"
This occurs AFTER the Form.Closed event finishes and
before control returns to the calling form.
There is a try catch block wrapping the ShowDialog but
this does not catch the unhandled exception.
any ideas where i could lok for the problem?

cheers

Guy

Jul 19 '05 #1
2 2595
http://www.wintellect.com/resources/...s/appsdie.aspx

--
Kevin Cunningham
Software Architects
"guy" <gu********************@hotmail.com> wrote in message
news:26****************************@phx.gbl...
i have a fairly complex form that is shown using
ShowDialog - ie modally. Clicking close in one paricular
situation it it gives an unhandled exception "No value at
index 0"
This occurs AFTER the Form.Closed event finishes and
before control returns to the calling form.
There is a try catch block wrapping the ShowDialog but
this does not catch the unhandled exception.
any ideas where i could lok for the problem?

cheers

Guy

Jul 19 '05 #2
guy
thanks Kevin :-)
-----Original Message-----
http://www.wintellect.com/resources/...ers/articles/a ppsdie.aspx
--
Kevin Cunningham
Software Architects
"guy" <gu********************@hotmail.com> wrote in messagenews:26****************************@phx.gbl...
i have a fairly complex form that is shown using
ShowDialog - ie modally. Clicking close in one paricular
situation it it gives an unhandled exception "No value at index 0"
This occurs AFTER the Form.Closed event finishes and
before control returns to the calling form.
There is a try catch block wrapping the ShowDialog but
this does not catch the unhandled exception.
any ideas where i could lok for the problem?

cheers

Guy

.

Jul 19 '05 #3

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

Similar topics

1
by: Rafael | last post by:
Hi, I hope I can find some help for this problem IDE: Visual Studio.NET 2003 Developer Editio Language: C# Problem: "An unhandled exception of type 'System.NullReferenceException' occurred in...
2
by: guy | last post by:
i have a fairly complex form that is shown using ShowDialog - ie modally. Clicking close in one paricular situation it it gives an unhandled exception "No value at index 0" This occurs AFTER the...
3
by: Elp | last post by:
Hi, I've developped a Window Form C# application which main form contains several activex controls. No problems most of the time but on some machine, the application crashes when the main form...
5
by: Sam Loveridge | last post by:
Hi All. I'm hoping someone can point me in the direction of a solution to unhandled exceptions in MDI child forms causing the application to crash. I've found various articles describing a...
0
by: Colmeister | last post by:
I recently read Jason Clark's excellent article on Unhandled Exceptions (http://msdn.microsoft.com/msdnmag/issues/04/06/NET/default.aspx) and have attempted to incorporate the features he talks...
5
by: Simon Tamman {Uchiha Jax} | last post by:
Now this is bugging me. I just released software for a client and they have reported an unhandled stack overflow exception. My first concern is that the entirity of the UI and any threaded...
2
by: Bob | last post by:
I MUST be able to trap unhandled exceptions, bring the thread to a routine that then closes the thread on which the execption occurred without closing or affecting the other threads. Think of an...
1
by: kuhrty | last post by:
Hi, I am creating a multi-winform project. Everything has been working fine, except after I perform an update to the database and decide to Exit the winform after the update operation is...
20
by: joseph_gallagher | last post by:
Hi, I've recently ported a .Net 1.1 application to .Net 2.0 and the one new feature that is getting on my nerves is that when there is an unhandled exception the application completely crashes,...
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...
1
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.