By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.