Uses the ProcessStartInfo class to start new processes, both in a minimized mode. : Process « Windows System « VB.Net






Uses the ProcessStartInfo class to start new processes, both in a minimized mode.

  

Imports System
Imports System.Diagnostics
Imports System.ComponentModel


   Class MyProcess 
      Shared Sub Main()
         Dim startInfo As New ProcessStartInfo("IExplore.exe")
         startInfo.WindowStyle = ProcessWindowStyle.Minimized

         Process.Start(startInfo)

         startInfo.Arguments = "www.java2s.com"

         Process.Start(startInfo)

      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.Start a Process
5.Checking for a Previous Instance
6.Get Previous Instances
7.Get the current process.
8.Get all instances of Notepad running on the local computer
9.Get all instances of Notepad running on the specifiec computer
10.Using an IP address to specify the machineName parameter
11.Get all processes running on the local computer
12.Get all processes running on the remote computer
13.Get a process on the local computer, using the process id
14.Get a process on a remote computer, using the process id
15.Process with arguments