can you catch the exception and interrogate it for data? Is the report displayed inside the application?
Can you take a temporary copy of the report for when anyone wants to read it so the master report file is not locked? On 16 Oct, 20:57, Fresh <[EMAIL PROTECTED]> wrote: > Anyone that can help, it's MUCH appreciated: > > Here is my situation. I have a VB.Net program that multiple user's > use. Sometimes there is a problem when one user has opened one of > the > reports to read it while the other (in the program) tries to > regenerate the report resulting int the typical "File in Use" error. > What I would like to do is be able to display to the user WHO has the > report open so they can contact them to have them close it. I've > looked in the FileInfo object but it doesn't seem to have anything > tied to the user that has that file open. > > It seems like it has to be possible. I did a little test by having > someone open a file and then I went to Start>Run and attempted to > open > the same file and it gave me the "File in Use" error which said > <filename> is locked for editing by '<name>' Do you want to... That > <name> is exactly what I need, but I need to find out where that > <name> field is stored so I can access it through my vb.net > application. > > Any ideas? > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/DotNetDevelopment You may subscribe to group Feeds using a RSS Feed Reader to stay upto date using following url <a href="http://feeds.feedburner.com/DotNetDevelopment"> http://feeds.feedburner.com/DotNetDevelopment</a> -~----------~----~----~----~------~----~------~--~---
