Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Configuration file, for vb.net program.

Posted on 2004-11-29
1
Medium Priority
?
188 Views
Last Modified: 2010-04-23
I would like to make configuration file for my program. For example I have conf.ini and there I have something like

Server=\\servername
Logoff=true

and other kind of settings, how can I get those settings without getting name of the setting. FOr exemple I can read all line, but this way server will be "Server=\\servername". So how can I make it to read only settings.

Thank you....
0
Comment
Question by:g00r00
1 Comment
 
LVL 1

Accepted Solution

by:
emglantz earned 200 total points
ID: 12702646
http://www.thecodeproject.com/vb/net/ConfigOpt.asp

This is a link to a class that allows you to read/write an XML file to store all of your application settings.  Very easy to use and understand.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question