473,382 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

The way of creating a settings / config form?

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...

Oct 29 '07 #1
5 2643
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 settings
http://msdn2.microsoft.com/en-us/lib...th(VS.80).aspx

HTH
Brendon

"kimiraikkonen" <ki*************@gmail.comwrote in message
news:11**********************@v3g2000hsg.googlegro ups.com...
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...
Oct 29 '07 #2
On Oct 29, 6:31 pm, "Brendon Bezuidenhout" <abs...@bezfamily.net>
wrote:
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

"kimiraikkonen" <kimiraikkone...@gmail.comwrote in message

news:11**********************@v3g2000hsg.googlegro ups.com...
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...- Hide quoted text -

- 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!
Oct 29 '07 #3
Yes it will work with the express editions no problem...

"kimiraikkonen" <ki*************@gmail.comwrote in message
news:11**********************@y42g2000hsy.googlegr oups.com...
On Oct 29, 6:31 pm, "Brendon Bezuidenhout" <abs...@bezfamily.net>
wrote:
>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

"kimiraikkonen" <kimiraikkone...@gmail.comwrote in message

news:11**********************@v3g2000hsg.googlegr oups.com...
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...- Hide quoted text -

- 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!

Oct 29 '07 #4
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

Oct 29 '07 #5
On Oct 29, 7:45 pm, "Cor Ligthert[MVP]" <notmyfirstn...@planet.nl>
wrote:
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

Oct 29 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: MrNobody | last post by:
I was a Java developer so I'm used to using property files as a means to keep configuration settings for my apps. I'm wondering what options are there with ..NET? Some settings I want to include...
2
by: Jarod_24 | last post by:
I Created a .config file for my Web application and named it "Settings.config" The file contains some settings for the application, including a connection string to a database. But i don't...
16
by: Asaf | last post by:
I am trying to create and use a COM object with C#.NET 2005. The assembly is set to "Register for COM interop" but when I am trying to call it from VB on Word 2003 I am getting this error: ...
5
by: Andy | last post by:
I need to write a VB.NET WinForms app. For this purpose I need to keep some settings of the application, like many other Windows applications do. The most obvious solution is to store settings in...
7
by: lord.zoltar | last post by:
I have a problem which I think can be solved by creating new Settings on the fly, but I'mnot sure if it's possible, or if a better solution may exists. Here's the situation: I have a project with...
0
by: steve | last post by:
I am using vb.net 2005 Express Edition. Application Settings would be a very useful thing, as a global program database that persists; if only it would work! Does anyone know a hack or a...
0
by: CSharpner | last post by:
How can I do the following?: Have a label on a form have its Text property bound to a setting from one of my DLL library's config files? I've followed these instructions to successfully get...
0
by: John | last post by:
Hi, I was wondering if it is possible to get the enterprise library (EL) 3.x to read/write the settings.settings section of the .config file? Because when you use the settings.settings in an...
8
by: Andrus | last post by:
..NET 2 Winforms application. How to create new setting and set it default value in userSettings section of app.config file or overwrite existing setting value ? I found code below in this list...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.