Get current Running Process : Process « Windows System « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Date Time
8.Development
9.Event
10.File Directory
11.Generics
12.GUI
13.Internationalization I18N
14.Language Basics
15.LINQ
16.Network Remote
17.Reflection
18.Security
19.Thread
20.Windows Presentation Foundation
21.Windows System
22.XML
23.XML LINQ
VB.Net Tutorial
VB.Net by API
VB.Net » Windows System » ProcessScreenshots 
Get current Running Process
Get current Running Process
   
Imports System.Threading

Public Class MainClass

   Public Shared Sub Main()

        Dim ProcessList As System.Diagnostics.Process()

        ProcessList = System.Diagnostics.Process.GetProcesses()

        Dim Proc As System.Diagnostics.Process

        For Each Proc In ProcessList
            Console.WriteLine("Name {0} ID {1}", _
              Proc.ProcessName, Proc.Id)
        Next
   End Sub

End Class 


           
         
    
    
  
Related examples in the same category
1.Check Existing Duplicate Process
2.Use Process to Start IExplore.exe
3.Start a Process
4.Checking for a Previous Instance
5.Get Previous Instances
6.Get the current process.
7.Get all instances of Notepad running on the local computer
8.Get all instances of Notepad running on the specifiec computer
9.Using an IP address to specify the machineName parameter
10.Get all processes running on the local computer
11.Get all processes running on the remote computer
12.Get a process on the local computer, using the process id
13.Get a process on a remote computer, using the process id
14.Process with arguments
15.Uses the ProcessStartInfo class to start new processes, both in a minimized mode.
w__ww.__j_av_a_2s___._c__o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.