PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Re: app crashes with winxp

Reply

Re: app crashes with winxp

 
Thread Tools Rate Thread
Old 04-11-2003, 12:54 PM   #1
Bart Jacobs
Guest
 
Posts: n/a
Default Re: app crashes with winxp


Hi John,

The dialog box shown in your image indicates that an exception occurred
in your application. You can get more information about the exception by
debugging the application. To do this, either run the application from a
debugger (such as Microsoft Visual Studio .NET or the Microsoft CLR
Debugger that comes with the .NET Framework SDK), or press Cancel in the
exception dialog box. This gives you access to the exception's stack
trace. The stack trace indicates which method caused the exception.

If you need more help, copy-and-paste the stack trace into your next
posting.

Regards

John wrote:

> Hi
>
> My app works fine on a windows 2000/office2000 pc but strangely on a
> windowsxp/officexp machine it crashes. The crash happens when I press a
> button (on a dialog form) that I have opened from the main form. The button
> click sub has a single Me.Close() statement in it, to close a dialog/form
>
> The error generated is as follows;
>
>
>
> Any idea what is causing this?
>
> Thanks
>
> Regards
>
>
>


  Reply With Quote
Old 04-11-2003, 11:07 PM   #2
John
Guest
 
Posts: n/a
Default Re: app crashes with winxp

Hi

Here is some detail. Hope this will shed some light. Thanks.

An unhandled exception of type 'System.Runtime.InteropServices.SEHException'
occurred in system.windows.forms.dll
Additional information: External component has thrown an exception.


Locals/Watch
- $exception {System.Runtime.InteropServices.SEHException}
System.Runtime.InteropServices.SEHException
- System.Runtime.InteropServices.ExternalException
{System.Runtime.InteropServices.SEHException}
System.Runtime.InteropServices.ExternalException
+ _exceptionMethod <undefined value> System.Reflection.MethodBase
activeComponent <undefined value>
System.Windows.Forms.UnsafeNativeMethods.IMsoComponent
- this <undefined value> System.Windows.Forms.Application.ComponentManager

Call Stack
>

system.windows.forms.dll!System.Windows.Forms.Application.ComponentManager.S
ystem.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoo
p(int dwComponentID, int reason, int pvLoopData) + 0x382 bytes
system.windows.forms.dll!ThreadContext.RunMessageLoopInner(int reason,
System.Windows.Forms.ApplicationContext context) + 0x15f bytes
system.windows.forms.dll!ThreadContext.RunMessageLoop(int reason,
System.Windows.Forms.ApplicationContext context) + 0x45 bytes
system.windows.forms.dll!System.Windows.Forms.Application.Run(System.Windows
..Forms.Form mainForm) + 0x34 bytes
Contacts.exe!Contacts.modMain.main() + 0x5d bytes

"Bart Jacobs" <bart.jacobs@student.kuleuven.ac.be> wrote in message
news:1067950497.277912@seven.kulnet.kuleuven.ac.be...
> Hi John,
>
> The dialog box shown in your image indicates that an exception occurred
> in your application. You can get more information about the exception by
> debugging the application. To do this, either run the application from a
> debugger (such as Microsoft Visual Studio .NET or the Microsoft CLR
> Debugger that comes with the .NET Framework SDK), or press Cancel in the
> exception dialog box. This gives you access to the exception's stack
> trace. The stack trace indicates which method caused the exception.
>
> If you need more help, copy-and-paste the stack trace into your next
> posting.
>
> Regards
>
> John wrote:
>
> > Hi
> >
> > My app works fine on a windows 2000/office2000 pc but strangely on a
> > windowsxp/officexp machine it crashes. The crash happens when I press a
> > button (on a dialog form) that I have opened from the main form. The

button
> > click sub has a single Me.Close() statement in it, to close a

dialog/form
> >
> > The error generated is as follows;
> >
> >
> >
> > Any idea what is causing this?
> >
> > Thanks
> >
> > Regards
> >
> >
> >

>



  Reply With Quote
Old 06-11-2003, 01:07 PM   #3
Bart Jacobs
Guest
 
Posts: n/a
Default Re: app crashes with winxp

John,

It seems that you are using an "external component"; probably an ActiveX
control. Maybe this ActiveX control is not Windows XP compatible?

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off