Open Default editor for text file : Process « Development « VB.Net Tutorial






Imports System.Diagnostics

public class Test
   public Shared Sub Main
        Dim new_process As New Process
        new_process.StartInfo.FileName = "test.txt"
        new_process.StartInfo.Verb = "Open"
        new_process.Start()
   End Sub
End class








7.24.Process
7.24.1.Start process by setting file name
7.24.2.Get current Process
7.24.3.Display properties of current Process
7.24.4.Start main module in current process
7.24.5.Kill current process
7.24.6.Get thread count in current process
7.24.7.Get Process by ID
7.24.8.Print properties of Process
7.24.9.Open Default editor for text file
7.24.10.Start a processStart a process
7.24.11.List all process in a ListViewList all process in a ListView