We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


VB.NET Read/Write to XML - 500 Points

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

Watch Question

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

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

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.