1 Replies - 529 Views - Last Post: 26 August 2013 - 02:37 AM Rate Topic: -----

#1 biren1212  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 07-December 12

how to know remote computer running processes

Posted 26 August 2013 - 02:26 AM

hi all;
How to know the other pc running process on my pc connected remotely.

  Dim remoteSystem As String = "my pc name"
            Dim procSearch As String = procName
            'Dim proc1() As Process
            'proc1 = System.Diagnostics.Process.GetProcessesByName(procSearch, remoteSystem)

            'If (proc1.Length > 0) Then
            '    MsgBox("Get")
            'Else
            '    MsgBox("Not get")
            'End If

            Dim sqlSvc As ServiceController
            Dim svc As ServiceController
            svc = New ServiceController(procName, remoteSystem)
            ServiceController.GetServices(remoteSystem)
            If sqlSvc.Status.ToString.Equals("Running") Then
                ' displayStatus("success", sqlSvc.Status.ToString)
                MsgBox("Get")
                'Else
            Else
                'displayStatus("error", sqlSvc.Status.ToString)
                MsgBox("Get")
                'Else
            End If



i will try such type of codes but could not connect remote compiter error shown . is there any other vway?

Is This A Good Question/Topic? 0
  • +

Replies To: how to know remote computer running processes

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3712
  • View blog
  • Posts: 5,964
  • Joined: 08-June 10

Re: how to know remote computer running processes

Posted 26 August 2013 - 02:37 AM

Moved to the main VB.NET help forum. Please don't post questions in the Challenges sub-forums.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1