Hi all, I'm running into an issue here. I have a windows service that checks for a condition and if the condition is met I want to open a certain web page in internet explorer. I can start the process, but a window for IE doesn't open. Here is my code:
ProcessStartInfo si = new ProcessStartInfo();
si.FileName = "C:\\Program Files\\Internet Explorer\\iexplore.exe";
si.Arguments = "www.microsoft.com";
si.UseShellExecute = false;
si.RedirectStandardOutput = true;
si.WindowStyle = ProcessWindowStyle.Maximized;
Process.Start(si);
Any help would be appreciated!
Jeff
ProcessStartInfo si = new ProcessStartInfo();
si.FileName = "C:\\Program Files\\Internet Explorer\\iexplore.exe";
si.Arguments = "www.microsoft.com";
si.UseShellExecute = false;
si.RedirectStandardOutput = true;
si.WindowStyle = ProcessWindowStyle.Maximized;
Process.Start(si);
Any help would be appreciated!
Jeff