Imports SystemImports System.DiagnosticsImports System.ComponentModelClass MyProcess Shared Sub Main() Dim localByName As Process() = Process.GetProcessesByName("notepad") End SubEnd Class