>-----Original Message-----
>
http://www.wintellect.com/resources/newsletters/articles/a ppsdie.aspx
>
>--
>Kevin Cunningham
>Software Architects
>
>
>"guy" <guy_nosheep_Swettenham@hotmail.com> wrote in
message
>news:26cf01c33f1d$84539ee0$a401280a@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
>>
>
>
>.