PC Review


Reply
Thread Tools Rate Thread

Differences in error handling between Design-Time and Run-Time

 
 
=?Utf-8?B?Y2hvcHNuc2F1Y2U=?=
Guest
Posts: n/a
 
      26th Jul 2005
Hello,

I've just written, my first .NET Windows application and I've noticed that
when running my App in the design time enviroment the error handling works
like this:

Say I've gat a method called Import that opens a form frmReplace.
Import has error handling but frmReplace_Load does not.

In Design-Time enviroment if an error occurrs in frmReplace_Load the
exception passes back to Import and is handled appropriately.

HOWEVER. In the Run-Time enviroment the exception in frmReplace_Load is not
passed back to Import and an unhandled exception occurrs forcing me to quit
the app.

So my question is, how do I make the design-time behave like run-time and
vice versa??

Help me!

Nick

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Sheet - Calculating Time Differences for Totals Kathy Microsoft Excel Misc 3 14th Jan 2010 10:04 PM
ODBC Run-Time Error Handling Help =?Utf-8?B?TWlrZUVsZWN0cmljVXRpbGl0eQ==?= Microsoft Excel Programming 5 16th Feb 2007 04:28 PM
Exception Handling difference between Design-Time and Run-Time =?Utf-8?B?Y2hvcHNuc2F1Y2U=?= Microsoft VB .NET 11 18th Aug 2005 03:58 PM
UserControl behaviour at author-time design-time and run-time =?Utf-8?B?SWFuIFRhaXRl?= Microsoft Dot NET Framework Forms 1 20th Oct 2004 05:18 PM
Unlikely differences between design time and run time. Tzury Bar Yochay Microsoft ASP .NET 3 29th Nov 2003 08:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:58 PM.