The way of creating a settings / config form?

  • Thread starter Thread starter kimiraikkonen
  • Start date Start date
K

kimiraikkonen

Hello,
I want to implement a settings form to my project which consists of
some strings and simple codes thus the users will be allowed to have
their custom settings/profiles.

How can i make settings form in VB.NET and store/recall them?

Thanks...
 
Heya Mate,

With .Net 2.0 its A WHOLE LOT EASIER!!! All the settings are now in 1 place
and can be changed at run time easier...

This link has EVERYTHING you need regarding application settingshttp://msdn2.microsoft.com/en-us/library/c9db58th(VS.80).aspx

HTH
Brendon








- Show quoted text -

Hi,
Is it applicable under VB.NET 2005 "express" edition?

However, something different came to my mind here it is:

Create a simple text file using streamwriter then store the strings
there,
Then use streamreader and associate which control must read from
streamreader (text file)

Done!
 
Kimi,

The build in is based on a config.xml file, a little bit more consistent
then your text file. Beside that is the registry very easy to handle in
VB.Net.

Cor
 
Kimi,

The build in is based on a config.xml file, a little bit more consistent
then your text file. Beside that is the registry very easy to handle in
VB.Net.

Cor

Absolutely true, but i just showed another option for simple text
values.
However, which one do you prefer more? Registry access or XML file?

thank you
 
Kimi,

That completely depends on where to use, there are seldom created two
solutions for one problem if there is a better choise without given
circumstances.

Cor
 
Back
Top