Start a Process : Process « Windows System « VB.Net






Start a Process

   
Imports System
Imports System.Data
Imports System.Windows.Forms
Imports System.Drawing
Imports System.Diagnostics
Imports System.Drawing.Printing

Public Class MainClass
    
    Shared Sub Main()
        
        Dim new_process As New Process
        new_process.StartInfo.FileName = Application.ExecutablePath
        new_process.StartInfo.Verb = "Open"
        new_process.Start()

    End Sub
End Class


           
         
    
    
  








Related examples in the same category

1.Check Existing Duplicate Process
2.Get current Running ProcessGet current Running Process
3.Use Process to Start IExplore.exe
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.