-
Mar 10th, 2017, 10:43 PM
#1
Thread Starter
Member
DOM Document Sharing
My code is currently modifying an XML file using MSXML2. It loads an XML file using the Load commend [ Load(C:\xxxx\yyy\File.xml ]
Now, I want to write additional functionality to my application. I need to update nodes in the xml file with the file opened in an outside application.
I have written code to "Load" the file , update it with no errors from MY app, but, when the other application quits, reloads, the data is not updated.
Is what I want possible?
Thanks
-
Mar 13th, 2017, 02:04 AM
#2
Re: DOM Document Sharing
Updating a file while it's opened by another application has no use.
If your application modifies the file then the other application will not magically re-read the file.
Thus when the other applications quits it will rewrite the file with it's own settings, because sequential files are always complete rewritten. It's not a database in which you update certain records.
So don't modify the file while it's in use by another application.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|