Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Load operation of XMLDocument Class

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hari - 13 Mar 2006 08:20 GMT
Hi all,

I am using an Xml file to store my data. This XML file will be used by
multiple threads for Storing and Retrieving  data.

I am using XMLDocument to store and retrieve data from the file.

During Load() operation of the XMLDocument, Is it necessary to check if the
file is being used by some other process or not?

Regards
Hari
Michael Nemtsev - 13 Mar 2006 14:50 GMT
In generaly not, if file wasn't open for writing - u get you data.
But you need to open context wide, what's the reason to do it -
syncronization or
just first load? just for load u needn't to do check

> I am using an Xml file to store my data. This XML file will be used by
> multiple threads for Storing and Retrieving  data.
[quoted text clipped - 3 lines]
> During Load() operation of the XMLDocument, Is it necessary to check if the
> file is being used by some other process or not?

Signature

WBR,
Michael  Nemtsev :: blog: http://spaces.msn.com/laflour 

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.