Imports System Imports System.Diagnostics Imports System.ComponentModel Class MyProcess Shared Sub Main() Dim currentProcess As Process = Process.GetCurrentProcess() End Sub End Class