To All:
I have a C# EXE and a C# DLL that is used by the EXE. I have a config file for both, created via the Properties tab and named
Any ideas, thanks!
To All:
I have a C# EXE and a C# DLL that is used by the EXE. I have a config file for both, created via the Properties tab and named
Any ideas, thanks!
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Irv AdamsPosted Oct 10, 2008, 8:06 AM
Thanks for the reply. What I'm trying to do is change the value of the config property outside of the program and then trying to get the program (Dll) to see the change. The change is only seen if I go into the code and change it in the Properties/Settngs tab and recompile. The property is an appllication type but I tried user type also with the same results.
Appreciate any ideas,
Irv Adams.
Scott LyslePosted Oct 8, 2008, 10:56 PM
Might be a dumb question but are you calling save on the setting after changing it?
private
void button1_Click(object sender, EventArgs e){
Properties.
Settings.Default.Greeting = textBox1.Text;Properties.
Settings.Default.Save();}