ProcessStartInfo startInfo = new ProcessStartInfo("exe path");
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
startInfo.UseShellExecute = true;
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
startInfo.UseShellExecute = true;
//set user and password if needed
//startInfo.UserName = "chetan";
//startInfo.Password = "Password";
//startInfo.Domain = "MyDomain";
//startInfo.UserName = "chetan";
//startInfo.Password = "Password";
//startInfo.Domain = "MyDomain";
// pass parameter to exe
startInfo.Arguments = strInputPath + "@" + strOutputPath;
Process.Start(startInfo);
startInfo.Arguments = strInputPath + "@" + strOutputPath;
Process.Start(startInfo);
No comments:
Post a Comment