Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OnShutdown event in a Windows Service
Message
De
27/03/2014 18:29:55
 
 
À
27/03/2014 16:35:14
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597504
Message ID:
01597517
Vues:
28
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform