|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Form On Error eventi want to use a form's OnError event to close the form if an error
occurs, but the event is not working. it just brings up the error window with the End and Debug buttons. i remember seeing an option somewhere that consults the form's event before any other control's event, but i can't find that in any property windows. is that the issue? or.. maybe someone can hear my main problem and address another way to handle it: my form uses global variables. when an error occurs, though, the project is reset and my variables lose their values. i want the forms to close when an error occurs so that the user has to re-open the form to refill the variables. Is this the behavior in the IDE? Try compiling and then running the app from
the command line And you want the user to refill in everything? Not very friendly..shouldn't you trap the error in the first place, and notify the user? Jeff <kmerce***@yahoo.com> wrote in message Show quoteHide quote news:1144776158.484263.195350@i39g2000cwa.googlegroups.com... >i want to use a form's OnError event to close the form if an error > occurs, but the event is not working. it just brings up the error > window with the End and Debug buttons. i remember seeing an option > somewhere that consults the form's event before any other control's > event, but i can't find that in any property windows. is that the > issue? > > or.. maybe someone can hear my main problem and address another way to > handle it: > > my form uses global variables. when an error occurs, though, the > project is reset and my variables lose their values. i want the forms > to close when an error occurs so that the user has to re-open the form > to refill the variables. >
Data form wizard in VS.NET 2005
Delegate problems MSDN-Example with Collection(of T) Saving Jpeg/Exif info Please Help. How do I find and use a Window Handle? "Looksalike" algorithm Error connectiong to database Tabelle collegate in Access [VB .Net 2005] Reading block of text from file Simple question |
|||||||||||||||||||||||