XML parsing error

Hi all

I need to use XML to store program data. In the attached example, I save a path to an XML file, so that my program remember last used folder for export.

This simple XML file format is as follows:


-
C:\Users\AJ\Desktop

At another time in my main program, an exception occurs when you try to update the XML file with the new path and I end up with the current XML:


-


I am trying to try to detect if the ExportFolder text node is empty, then add a default path:

The if statement works, but I can't find a way to update the XML file and analyze a next under ExportFolder element node.

Any help will be greatly appreciated.

Best regards

AJ

Found a solution for this. for those who may have a similar problem, it worked for me:

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Satellite M50 - white screen after login on Win 8.1

    Satellite M50 running 8.1 WinAfter login, download mouse white screen, but nothing else.Can run Explorer.exe manually via the the Task Manager for go, but some applications like Acrobat and Windows Mail does not work. I searched online and tried all

  • Satellite Pro A60 does not recognize the accept/DVDs blank

    My computer will not accept blank CD - R disc so I can burn data on them, but my computer will not accept blank DVD discs that I want to be able to use to store more data. In the drive of my computer D reads "DVD - RW", I guess so, but am not sure th

  • 1/4 of the touchscreen unresponsive touchsmart 23 inches while a pc hp

    Hello, I got this pc touchsmart with windows 8 is already installed last year. yesterday I used it, and all of a sudden the quarter bottem left of the screen stopped working for the touchpad that the rest works fine. any idea ive done research and no

  • Echo of cursor problem

    I had problems with an application that I have loaded on my Windows 7 laptop. I removed it. Now I have problems in every application on the PC that involves text entry. When I type a character the cursor is always returned to the right place.  So whe

  • How to prevent my monitor turning off if all my power settings are tuned to stay all the time?

    This is a clean install of my OS (Windows 7 Ultimate) All my power setting have been set to have my PC all the time. Everything is turned off so that my computer stays without interruption. However, my screen turns off after one minute of non-use. I