Solved

Shared (static) events in VB.NET

Posted on 2008-06-20
1
1,967 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Export Data to Different .csv Files 26 104
How can my static class become undefined?? 8 49
Formula problem with Excel attachment 6 27
vb.net class 3 12
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…

776 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