Click here to Skip to main content
15,911,142 members

Comments by sri durga (Top 4 by date)

sri durga 13-Sep-17 11:00am View    
the above solution working , but i am trying to get the path where it installed from the registry. can you help me how to get the path from the registry.

Thanks for your help.
sri durga 12-Sep-17 11:31am View    
that path is existed. if i execute same path directly from command prmopt. its executing the exe file and giving output. but if i do the same path using C#
it giving that error.
sri durga 12-Sep-17 11:26am View    
I checked for other softwares. its giving null even the key exists in the registry.
sri durga 12-Sep-17 10:38am View    
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.FileName = "cmd.exe";
startInfo.WorkingDirectory = "C:\\program files\\PenMount Windows Universal Driver\\";
startInfo.UseShellExecute = true;
//startInfo.Arguments = "/c C:\\program files\\PenMount Windows Universal Driver\\dmcctrl -Calibration 4";
startInfo.Arguments = "/c " + "DMCCTRL -Calibration 4";
process.StartInfo = startInfo;

process.Start();

but still its not executing the exe, and giving the error as file specified path was incorrect.

Please help me