public Form1() { InitializeComponent(); m_AppKey = Registry.CurrentUser.CreateSubKey( @"Software\GodComplex\AlbedoDatabaseGenerator" ); m_ApplicationPath = System.IO.Path.GetDirectoryName( Application.ExecutablePath ); }