Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configurations from XML Document Question

Status
Not open for further replies.

traceytr

Programmer
Mar 13, 2001
94
US
Hello. I'm tasked with changing an existing VB.NET 2003 Windows application. (I've coded only a little .NET, lots of VB6.)

I need to change the configurations, not only the properties of the existing configurable items, but also to add more configurable items.

This app gets its configurations from an XML Document, not the app.config file that I'm becoming familiar with.

I've changed the XML doc and saved it, but the app does not read the changes when I step through it -- it reads the original values. It is as if the app is reading from a different document.

For the life of me, I have not found the answer in my .NET books or on line. I've searched all over the app itself and in the help files. I still have not found the answer.

Can anyone point the way? Thanks!
 
Resolution:

The XML document I was modifying in the Solution Explorer was not the one being read by the application.

On the menu, go to File > Open > File...
Browse to the XML document contained in the bin folder. (The project .exe is also in this folder.)
Double click on the .xml document to open it.
Make your changes, and manually save the .xml document.
Now when I step through the application code, I see that I have changed the .xml doc the app is using for configurations.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top