System.Diagnostics.Process.Start("net", "use" \server\z)
how do I hide the pop up window when the processes start ? thank you
System.Diagnostics.Process.Start("net", "use" \server\z)
how do I hide the pop up window when the processes start ? thank you
Use the Startinfo property. See if something like this works:
Dim NewProcess As New Process()
NewProcess.StartInfo.UseShellExecute = False
NewProcess.StartInfo.FileName = "net"
NewProcess.StartInfo.Arguments = "use \server\z"
NewProcess.StartInfo.CreateNoWindow = True
NewProcess.Start()