VB.NET Read/Write to XML - 500 Points

Posted on 2006-04-03
Medium Priority
Last Modified: 2006-11-18
my sample xml file (correct if wrong)
<?xml version="1.0" encoding="UTF-8"?>

Now i want to be able to read the values and update them if needed. Also i want to be able to create new keys.

Thank you in advance.

Question by:ztek

Accepted Solution

JRossi1 earned 2000 total points
ID: 16362818
LVL 10

Expert Comment

ID: 16362964
The easiest is using the VS 2005 Designer create the Application Settings.

To add application settings in the Project Designer

1. Select a project in Solution Explorer; on the Project menu, click Properties.
2. Select the Settings pane.
3. Click a blank row in the Settings grid.
4. Enter a name for the setting in the Name column. The name cannot contain spaces. e.g server
5. Select a data type for the setting from the Type drop-down list.
6. Select the scope of the setting from the Scope drop-down list. The setting's scope can be Application or User.
7. Enter a default value for the setting in the Value column. The value must be appropriate for the selected data type.

My.Settings.Server =

Server = My.Settings.Server

Other Reference


Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 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