hi everybody My Problem is like this... I am accessing a text file in the local file system. at the time i access the file, if somebody else is accessing the same file then i have to catch that. I mean i want to check whether somebody is accessing my file at the time i access it ?? Please help me. Thanks in advance everybody.