I'm trying to minimize internet explorer after starting. If i don't have any window before then it works fine. and if i already have instance of IE. then it doesn't minimize .
ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
startInfo.WindowStyle = ProcessWindowStyle.Minimized;
string sub;
startInfo.Arguments = "www.google.com";
Process.Start(startInfo);