Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app paths\\OUTLOOK.EXE"); //string path = (string)key.GetValue("Path"); //if( path != null) System.Diagnostics.Process.Start("OUTLOOK.EXE"); //else MessageBox.Show("There is no Outlook in this computer!", "SystemError", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)