I have this code that opens an application:
string cFilename = "Test.exe";
string cPath = "C:\\Temp\\";
System.Diagnostics.Process pStart = new System.Diagnostics.Process();
pStart.StartInfo.FileName = cFilename;
pStart.StartInfo.WorkingDirectory = cPath;
pStart.Start();
pStart.Dispose();
If I use it in another application all right, if I use it in a service on OnStart (), the application opens but in the background and is not displayed,I only see it in windows processes. What did I do wrong?