G
Guest
Hi. I have a windows VB .NET application and the app.config file has an entry like this
<add key="key0" value="(###) ###-####" /
In my form load event handler, there is a line like
strDefaultPhoneFormat = ConfigurationSettings.AppSettings("key5"
But the debugger tells me strDefaultPhoneFormat contains Nothing after retrieving that settings value
If I copy the config file to the exe directory and run the program, the config file gets deleted every time the application starts, why? How can I prevent this
Any help with this will be appreciated
Thank
<add key="key0" value="(###) ###-####" /
In my form load event handler, there is a line like
strDefaultPhoneFormat = ConfigurationSettings.AppSettings("key5"
But the debugger tells me strDefaultPhoneFormat contains Nothing after retrieving that settings value
If I copy the config file to the exe directory and run the program, the config file gets deleted every time the application starts, why? How can I prevent this
Any help with this will be appreciated
Thank