Imports System Imports System.Diagnostics Imports System.ComponentModel Class MyProcess Shared Sub Main() Dim remoteByName As Process() = Process.GetProcessesByName("notepad", "myComputer") End Sub End Class