설명
실행중인 프로세서검색 - Process.GetProcessesByName

      Dim processList() As Process

        processList = Process.GetProcessesByName("cmd")

        If IsProcessRunning("cmd") Then

              msgbox("   :")

        endif



   Public Function IsProcessRunning(ByVal name As String) As Boolean

        For Each clsProcess As Process In Process.GetProcesses()

            If clsProcess.ProcessName.StartsWith(name) Then

                Return True

            End If

        Next

        Return False

    End Function

이 게시물을

공유하기

SEARCH

MENU NAVIGATION