Closeing shared files

Hello

Yesterday I stack with a problem of opening and writing some information to  file in AD domainm which was open by one user. I noticed that when someone open a file, then I can not do anything with it untill the time when he will close the file.

My question is :

Is it possible to close such session to the file for this user thru the vb.net or cscript code
My program need to get full acceces to some files and I need to be sure that all of them will be close before starting my application.

Thank you in advance for help
M.


Answer this question

Closeing shared files

  • ooKmonkey

    Thank you for your response.

    I'm working with VS 2003 and I was looking to close those files by some framework routines.

    Anyway, I found the solution and main reason (not enough user rights to accomplish this task) why I could close and see all open AD session to files.

    anyway thank you
    regards
    MAriusz

  • Mike95

    Hello!!

    I have the same problem. I need rewrite a shared file in use by other computers. How it fixed u Which is the solution

    Thaaanks.

    PD: Sorry my english :$

  • DesX

    Anytime... I'm glad that you were able to resolve the issue.

    -brenda (ISV Buddy Team)

  • dops141441

    Hello Mariusz,

    Which application (and version) are you working in

    thanks,
    -brenda (ISV Buddy Team)

  • Closeing shared files