Solved

Shared (static) events in VB.NET

Posted on 2008-06-20
1
1,964 Views
Last Modified: 2013-11-26
What are shared events in VB.NET? How do I raise them and handle them? What are they useful for?

E.g. if I declare a class like this:

Public Class ProgressHandler
    Public Shared Event Progress(ByVal title As String, ByVal message As String, ByVal value As Integer, ByVal max As Integer)
End Class

The compiler doesn't complain but I don't know what to do with it from there.
0
Comment
Question by:Frosty555
1 Comment
 
LVL 7

Accepted Solution

by:
AUmidh earned 500 total points
ID: 21836529
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now