I have an C# windows forms application ( .Net 4 client profile) which needs to run as an administrator.
For that I have added the manifest file and it runs fine.
The problem I am facing is when I want to open a PDF file (Help file) from the application on click of a button.
I have following code to do it.
Process.Start("<FullyQualifiedPath>\Help.pdf");
The code executes without any exceptions thrown. But the Adobe reader process just sits as background process in the task manager, it does not really opens up the file!
If you run the same code without running the parent application under administrator privileges, then the pdf file opens up just fine.
Operating systems I have tried this on are Windows 8 and Windows 7
File does exist on the file system
I have tried opening the file by specifying it as an argument to both "cmd.exe" and "explorer.exe", saw the same behavior in both the cases.