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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Scott LysleRank #49 · 31K reputationPosted Oct 8, 2008, 6:56 PM EDT
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();}
Irv Adams6 reputationPosted Oct 10, 2008, 4:06 AM EDT
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.