1. Computing

Shared Events in VB.NET

By April 16, 2012

Follow me on:

If you have written code for ... ummmmm ... more than ten minutes, then you have probably run into situations where nothing you change seems to work. You change the code one way and you get an error message. Then you change it another and that error message goes away, but a different one pops up. It seems that there's no way to fix the code.

Using shared events can be like that, so when I wrote this article, I showed how you can get into one of those no-win situations and how to get out of it again.

A shared event is a fairly specialized code technique, however. You won't find yourself doing this very often, if at all. But like they say ...

When you need it, nothing else will do!!

Shared Events in VB.NET

Comments
Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
  1. About.com
  2. Computing
  3. Visual Basic

©2014 About.com. All rights reserved.