Re: Unhandled exception while dragging
From: Morten Wennevik (MortenWennevik_at_hotmail.com)
Date: 03/14/05
- Next message: cmoore.afs: "RE: EventLog Source still created after deleting all references to it"
- Previous message: yaya via DotNetMonster.com: "Problem with Excel object"
- In reply to: Ludovic SOEUR: "Re: Unhandled exception while dragging"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Mar 2005 21:11:49 +0100
Not to my knowledge, though I may be very wrong on this. Strictly
speaking, it is Windows that has performed an illegal action when running
part of your code, not your application.
On Mon, 14 Mar 2005 17:04:15 +0100, Ludovic SOEUR
<Ludovic_SOEUR@hotmail.com> wrote:
> Thanks for your answer that helped me to understand why it was not
> working.
>
> But is there a way to handle this exception ? Not with a try catch in
> Form2_DragDrop event with a message box but with a throw to the global
> application ?
>
> Thanks in advance.
> Ludovic Soeur.
>
> "Morten Wennevik" <MortenWennevik@hotmail.com> a écrit dans le message de
> news:opsnmv8vi6klbvpo@pbn_computer...
>> Hi Ludovic,
>>
>> Form2_DragDrop is called by Windows, so any unhandled exception will be
>> handled by Windows, so nothing appears to have happened.
>>
>> If you on the other hand call Form2_DragDrop directly you will get the
>> Exception.
>>
>> --
>> Happy Coding!
>> Morten Wennevik [C# MVP]
>
>
-- Happy Coding! Morten Wennevik [C# MVP]
- Next message: cmoore.afs: "RE: EventLog Source still created after deleting all references to it"
- Previous message: yaya via DotNetMonster.com: "Problem with Excel object"
- In reply to: Ludovic SOEUR: "Re: Unhandled exception while dragging"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|