Re: Unhandled exception while dragging

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Morten Wennevik (MortenWennevik_at_hotmail.com)
Date: 03/14/05


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]


Relevant Pages

  • Re: Unhandled exception while dragging
    ... But is there a way to handle this exception? ... Ludovic Soeur. ... > handled by Windows, so nothing appears to have happened. ... > Happy Coding! ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [announcement] SYSAPI and SYSSVC for Windows
    ... What do you need Windows NT for in this application? ... You can use SEH (Structured Exception Handling) to prevent a process from ... > Ada did solve this, ... If you implement your own message queues on Windows, use an Event object ...
    (comp.lang.ada)
  • Re: Blue screen crashes
    ... A kernel mode program generated an exception which the error handler ... What is your Windows XP CD as it is described on the face of the CD? ... What Warning and Error Reports appear in Event Viewer since it's ... If you have had a malware infestation one holds the door open to let ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Sharepoint 2007 - Installation Error - Failed to register SP s
    ... Windows 2000 Server. ... It is a bug with Beta 2 where the database server is running Windows 2000. ... Server I have the following exception: ... RunBehavior runBehavior, String resetOptionsString) ...
    (microsoft.public.sharepoint.portalserver)
  • Re: windows error codes
    ... Driver Development Tools: Windows DDK ... This indicates that a kernel-mode program generated an exception which the error handler did not catch. ... For a complete list of exception codes, see the ntstatus.h file located in the inc directory of the Windows DDK. ... This article describes how to troubleshoot a "STOP 0x0000001E KMODE_EXCEPTION_NOT_HANDLED" error message. ...
    (microsoft.public.windowsxp.general)