I trying to read the registry where my programm is installed.
if (result == DialogResult.OK)
{
string Prog = LeesPadVanRegister();
Process.Start(Prog + ".exe");
protected string LeesPadVanRegister ()
{
string Reg = (string)
Registry.GetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\L ampie
Soft\\Software\\Radio Speler","Directory",1);
return Reg;
}
But reg stays null and the path is correct.
What is wrong.