Private Sub btnOpenLinuxDir_Click(sender As Object, e As EventArgs) Handles btnOpenLinuxDir.Click Dim password As New SecureString Dim pwd As String = "password" For Each c As Char In pwd password.AppendChar(c) Next Dim open As New ProcessStartInfo open.Domain = "servername" open.UserName = "user" open.Password = password open.FileName = "explorer.exe" open.StartInfo.Arguments = "@\\Linuxserver\C\usr\directory" open.UseShellExecute = False Process.Start(open) End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)