Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnShutdown event in a Windows Service
Message
From
27/03/2014 18:29:55
 
 
To
27/03/2014 16:35:14
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01597504
Message ID:
01597517
Views:
27
>And here http://www.vbdotnetforums.com/windows-services/31889-shutdown-intercept-service.html

This one is a form based approach. But, the idea is good.

Basically, I have the event already:
    Protected Overrides Sub OnShutdown()

        ' If this is busy
        If oRobot.lBusy Then

            ' Send message to the user as Windows does on other Windows Service and/or closes by itself

        End If

    End Sub
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform