//get the path from the registry
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\xx");
string path = Convert.ToString(key.GetValue("InstallDir"));
m_shapefileName = System.IO.Path.Combine(path, @"\bin\xx.exe");
//get the path from the registry
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\xx");
string path = Convert.ToString(key.GetValue("InstallDir"));
m_shapefileName = System.IO.Path.Combine(path, @"\bin\xx.exe");