Hi,
I would like to edit the app config file (e.g., MyApp.exe.config) through VB. Here is an example of part of the file:
<applicationSettings>
<SettingsXmlInterface.My.MySettings>
<setting name="StrTest" serializeAs="String">
<value>Testing..1..2..3</value>
</setting>
<setting name="IntTest" serializeAs="String">
<value>123</value>
</setting>
<setting name="DblTest" serializeAs="String">
<value>1.23</value>
</setting>
<setting name="TimTest" serializeAs="String">
<value>01:02:03</value>
</setting>
<setting name="BooTest" serializeAs="String">
<value>True</value>
</setting>
<setting>
</applicationSettings>
</configuration>
I can read in the values, but I am unable to get the setting name. For example, from 'setting name="StrTest"', all that I am able to extract is "setting", but I am after "StrTest".
(I have not tried to figure it out yet, but later I will probably have ask how to generate an entry such as '<setting name="StrTest" serializeAs="String">' )
Thanks,
That Sam I Am
I would like to edit the app config file (e.g., MyApp.exe.config) through VB. Here is an example of part of the file:
<applicationSettings>
<SettingsXmlInterface.My.MySettings>
<setting name="StrTest" serializeAs="String">
<value>Testing..1..2..3</value>
</setting>
<setting name="IntTest" serializeAs="String">
<value>123</value>
</setting>
<setting name="DblTest" serializeAs="String">
<value>1.23</value>
</setting>
<setting name="TimTest" serializeAs="String">
<value>01:02:03</value>
</setting>
<setting name="BooTest" serializeAs="String">
<value>True</value>
</setting>
<setting>
</applicationSettings>
</configuration>
I can read in the values, but I am unable to get the setting name. For example, from 'setting name="StrTest"', all that I am able to extract is "setting", but I am after "StrTest".
(I have not tried to figure it out yet, but later I will probably have ask how to generate an entry such as '<setting name="StrTest" serializeAs="String">' )
Thanks,
That Sam I Am