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.

[549 byte] By [MariuszGorzoch] at [2008-3-6]
# 1
Hello Mariusz,

Which application (and version) are you working in?

thanks,
-brenda (ISV Buddy Team)

MSISVBuddyTeam at 2007-9-9 > top of Msdn Tech,Microsoft ISV Community Center Forums,Visual Basic for Applications (VBA)...
# 2
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

MariuszGorzoch at 2007-9-9 > top of Msdn Tech,Microsoft ISV Community Center Forums,Visual Basic for Applications (VBA)...
# 3
Anytime... I'm glad that you were able to resolve the issue.

-brenda (ISV Buddy Team)

MSISVBuddyTeam at 2007-9-9 > top of Msdn Tech,Microsoft ISV Community Center Forums,Visual Basic for Applications (VBA)...
# 4
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 :$
Morpheo at 2007-9-9 > top of Msdn Tech,Microsoft ISV Community Center Forums,Visual Basic for Applications (VBA)...