I am trying open a downloaded file in it's default desktop application e.g. if that's a '.txt' file this should open in notepad and if it's a ('.docx') file, this should be opened using 'wordpad.exe' (if MS Word is not installed). I am trying to open the file using very common 'Process.Start()' method:
System.Diagnostics.Process.Start(path);
where 'path' is the complete path to the file i.e. c:\somefolder\file.extension
Code is working in the sense that it's being executed without any errors (debugged this as well), and when I check the task manager, relevant process (notpad.exe, wordpad.exe, based on file being opened) is there in the process list. BUT, The desktop application is never launched to show the file. Please guide what am i missing.