Advertisement

01.09.2008 at 06:14AM PST, ID: 23069404
[x]
Attachment Details

Reading a simple Custom Configuration Section from my VB.NET application

Asked by RAFUser in .NET Framework 2.0, Microsoft Visual Basic.Net

Tags: Visual Basic.NET

I am trying to create a simple Custom Configuration Section in my VB.NET application that contains a collection of entries.  Attached is my config file.

I don't need to write items back to the config file - all I need to do is be able to read the items into some sort of collection.  All of the examples I can find are in C# and I am unable to translate them correctly as most of them contain advanced functionality I don't need.

References or code snippets would be greatly appreciated.  Thanks!Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <downloadDirs>
    <dir ftp="/User1/Outbound/" local="\User1\Inbound\" />
    <dir ftp="/User2/Outbound/" local="\User2\Inbound\" />
  </downloadDirs>
  <appSettings />
</configuration>
[+][-]01.09.2008 at 08:24AM PST, ID: 20619483

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.09.2008 at 08:36AM PST, ID: 20619605

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.14.2008 at 09:57AM PST, ID: 20654987

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET Framework 2.0, Microsoft Visual Basic.Net
Tags: Visual Basic.NET
Sign Up Now!
Solution Provided By: MagellanTX
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628