Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetProcessById() on another server
Message
De
02/02/2015 10:37:52
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
GetProcessById() on another server
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614754
Message ID:
01614754
Vues:
38
I am using this to know if a process ID is running:
    ' See if a process ID is running
    ' expN1 Process ID
    Public Function IsProcessRunning(ByVal tnProcessID As Integer) As Boolean
        Dim llRunning As Boolean = False
        Dim loProcess As Process = Nothing

        Try
            loProcess = Process.GetProcessById(tnProcessID)
        Catch loError As Exception
        End Try

        If Not IsNothing(loProcess) Then
            llRunning = True
        End If

        Return llRunning
    End Function
How can I adjust this so to add support to detect if a process is running on a specific server?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform