• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1199
  • Last Modified:

Detecting a file open event in VB .Net

I need to be able to detect when an Excel file is opened within a network folder.  Ideally I need something like the Watcher class which throws up events if any file is changed in a specified folder.  Unfortunately the watcher class generates messages for all evenets other the file open event.  Does anyone have an alternative using Win API calls that can capture this event?
  • 2
1 Solution
FINDERSOLAuthor Commented:
Thanks, this does the job.  Jjust realised it was the notifyfilter criteria that I was missing in my code!
I would like to see the code you used.
I could not get the notifyfilter to work right.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now