He leido que se debe de utilizar la función CreateProcess de la API de Win32.
Código: Seleccionar todo
Private Function CreateProcess( _
ByVal nombredelproceso As String, _
ByVal cmdLine As String, _
ByVal lpProcessAttributes As Integer, _
ByVal lpThreadAttributes As Integer, _
ByVal boolInheritHandles As Int32, _
ByVal dwCreationFlags As Int32, _
ByVal lpEnvironment As Integer, _
ByVal lpszCurrentDir As Integer, _
ByVal si As Integer, _
ByVal pi As Integer) As Integer
End Function
Por tanto abro un nuevo formulario y en pongo:
Código: Seleccionar todo
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim programaprueba As String = "programapueba"
CreateProcess(programaprueba, "", 0, 0, 0, "IDLE_PRORITY_CLASS", 0, 0, 0, 0)
End Sub
End Class