By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

SystemEvent

P: n/a
I was wondering if someone could provide sample code on how to setup a
SystemEvent handler, for trapping the SessionEnding Event? Thanks.
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "Mike Johnson" <jo*****@bellsouth.net> scripsit:
how to setup a SystemEvent handler, for trapping the SessionEnding Event?


\\\

' Adding the handler.
AddHandler Microsoft.Win32.SystemEvents.SessionEnding, AddressOf Me.System_SessionEnding
..
..
..
Private Sub System_SessionEnding(ByVal sender As Object, ByVal e As Microsoft.Win32.SessionEndingEventArgs)
...
End Sub
///

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.