I am running a Windows Service I created in C# on Vista Premium. When I execute the service from the IDE the application (bittorrent.exe) loads successfully. However, when I actually install the application and run the service under my Administrator account, the application executes, but does not appear. It appears in the Task Manager, but with no interface. In fact, the application is not doing anything - I know this because the CPU activity is zero, and there is no internet activity (for the files that should be downloading/uploading within the bittorrent application).
Any ideas anyone? Am I missing a privilege in order to execute another application. Perhaps there is something else I can do?
// Build the structure used to execute an application
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\Program Files\BitTorrent\bittorrent.exe");
startInfo.WindowStyle = ProcessWindowStyle.Maximized;
startInfo.RedirectStandardOutput = false;
startInfo.UseShellExecute = true;
// Execute the application
Process process = Process.Start(startInfo);