i would like to set the title of a windows form via a menu toolbar, where a menu says 'Change Title'. When clicked, it allows the title change with Aa thru Zz only (no numbers, etc). If no title, it defaults to welcome and the registry key for the title is deleted.
currently items working are:
key.SetValue("X", Location.X);
key.SetValue("Y", Location.Y);
key.SetValue("Height", Height);
key.SetValue("Width", Width);
key.SetValue("CurrColor", currColor.Name);
key.SetValue("Title", title);
//key.SetValue("LastFile");
Application.Exit();
which means i can write to the registry. however i can not get a valid title written or read back.
lastfile is another needed.
thanks
currently items working are:
key.SetValue("X", Location.X);
key.SetValue("Y", Location.Y);
key.SetValue("Height", Height);
key.SetValue("Width", Width);
key.SetValue("CurrColor", currColor.Name);
key.SetValue("Title", title);
//key.SetValue("LastFile");
Application.Exit();
which means i can write to the registry. however i can not get a valid title written or read back.
lastfile is another needed.
thanks