I am not able to launch narrator program from Visual Studio using C#. I have tried using complete path and other similar hacks but no outcome ? The code is :
System.Diagnostics.Process.Start(@"C:\windows\system32\narrator.exe");
Similar code is able to execute notepad.exe present in the same folder. Can anyone help me in this regard ? The execption which i got was ::
"An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll Additional information: The system cannot find the file specified "
however the file exists in the specified path. Then i copied the entire system32 folder to my desktop and gave the new location .then the code passes through without any exception but no narrator application is launched .
You can disable the filesystem redirection using some system calls. Note that even with the redirection fixed, you still cannot launch Narrator without elevated privileges.