Hi
I'm trying to create a series of config files for my Windows app (some of
which may reside in arbitary locations unrelated to the exe file) and have
been reading various examples using the System.Configur ation namespace.
However, I just can't get anything to work using these examples e.g.
http://msdn2.microsoft.com/en-us/library/2tw134k3.aspx - have adapted that
one to work with a win app but get the error :
An error occurred creating the configuration section handler for
myCustomGroup/myCustomSection : Could not load type
'MyConfigSectio nHandler.MyHand ler' from assembly
'MyCustomConfig urationHandler, Version=1.0.0.0 , Culture=neutral ,
PublicKeyToken= null'.
All I want to do is to be able to read configuration info from an xml config
file such as
<myAppSetting s>
<SectionA
Setting1="12"
Setting2="25"
Setting3="anoth er value"
/>
</myAppSettings>
Can somebody point me in the right direction please?
many thanks
Richard Bysouth
--
-----------
Please provide code examples in VB if possible...than ks!
-----------
I'm trying to create a series of config files for my Windows app (some of
which may reside in arbitary locations unrelated to the exe file) and have
been reading various examples using the System.Configur ation namespace.
However, I just can't get anything to work using these examples e.g.
http://msdn2.microsoft.com/en-us/library/2tw134k3.aspx - have adapted that
one to work with a win app but get the error :
An error occurred creating the configuration section handler for
myCustomGroup/myCustomSection : Could not load type
'MyConfigSectio nHandler.MyHand ler' from assembly
'MyCustomConfig urationHandler, Version=1.0.0.0 , Culture=neutral ,
PublicKeyToken= null'.
All I want to do is to be able to read configuration info from an xml config
file such as
<myAppSetting s>
<SectionA
Setting1="12"
Setting2="25"
Setting3="anoth er value"
/>
</myAppSettings>
Can somebody point me in the right direction please?
many thanks
Richard Bysouth
--
-----------
Please provide code examples in VB if possible...than ks!
-----------
Comment