Interesting... As specified in the how to Run application as admin link, i used ProcessStartInfo object and made Shellexecute to false then set the file info,arguments and passed that object to Process.Start method. My program worked fine. without any parent process crash. But, still a doubt...
I've tried executing vb windows forms application. Still facing the same issue. One Observation : When I try to launch applications like explore.exe, regedit.exe, notepad.exe which are part of C:\windows folder and iexplore.exe which is part of Program files directory I am facing the same...
Thanks for the reply !! Even i am using VS2010 Ultimate.May be the specifics are mentioned below, Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel Microsoft .NET Framework Version 4.0.30319 RTMRel Installed Version: Ultimate My Code Looks like this ================== private void...
1) Develop a simple forms application( add one button and implement its button click handler with the following code) 2) System.Diagnostics.Process.Start("C:\\Test\\Example.txt"); 3) Create the text file in the above specified path. 4) Now run the windows form application and invoke the button...