Hi, I'm writing a windows service in C# 3.0, when calling
p = new System.Diagnostics.Process();
p.StartInfo.FileName = aFileName;
p.StartInfo.Verb = "Print";
p.StartInfo.CreateNoWindow = true;
p.Start();
The Start() doesn't start the process and doesn't print the indicated document passed in aFileName parameter.
How can I start a process from a Windows Service? I'm running Windows Vista OS.