Who has opened a file?

Who has opened a file?

am 01.04.2008 23:12:05 von Paul

Hi,
my C# dotnet application runs into problems when it cannot open some
of its files. When this happens on the customer's computer I would
like to display a friendly message that explains the problem and that
states the name of the offending process. I thinking of a virus or spy
scanner or possibly a backup software.

In the internet there are various debugging tools that can show this
information. But using these tools is far beyond most of my customers.

So, is there anything I could integrate into my application without
too much effort?

Thanks in advance!

Paul Hoepping.
Email: paul@hed.de
WWW: http://www.hed-dress.de

Re: Who has opened a file?

am 01.04.2008 23:53:19 von Jeff Gaines

On 01/04/2008 in message
<79dc2961-dd48-45b8-9322-904457343f70@e67g2000hsa.googlegroups.com>
paul@hed.de wrote:

>So, is there anything I could integrate into my application without
>too much effort?

You could put your file open procedure in a try/catch block and raise a
message box showing any exception - I'm not sure how user friendly some of
the messages might be though.

--
Jeff Gaines