Hi all,
I want to write to an XML configuration file but I get an error message saying the following:
code: System.Configuration.Confi
gurationSe
ttings.App
Settings("
compNameCo
nf") = "some string value"
message: "An unhandled exception of type 'System.NotSupportedExcept
ion' occurred in system.dll
Additional information: Collection is read-only."
I am reading the file ok, with this code:
dim str as String
str = System.Configuration.Confi
gurationSe
ttings.App
Settings("
compNameCo
nf")
Why can't I write to this file?
Thanks Guys...
Start Free Trial