Imports SystemImports System.DiagnosticsImports System.ComponentModelClass MyProcess Shared Sub Main() Dim localById As Process = Process.GetProcessById(1234) End SubEnd Class