Monday, 15 July 2013

Unhandled Exception: EventArgs in vb.net missing property "handled" -



Unhandled Exception: EventArgs in vb.net missing property "handled" -

i used next code:

sub appstartup() addhandler appdomain.currentdomain.unhandledexception, sub(sender object, args unhandledexceptioneventargs) dim e = ctype(args.exceptionobject, exception) showmessage("oops...", handleerr(e), messageboximage.error) end sub end sub

and don't property handled although appears link supposed his

your link points @ xaml article, question winforms.

are starting within vs? please note exception first handled vs, , handler. when run standalone executable, should work expected. don't need set e.handled anything.

vb.net

No comments:

Post a Comment