473,491 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2600
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
536
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
264
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
17198
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
4519
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
1969
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
3374
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
2168
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
1889
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
11419
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
7115
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
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
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
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.