Solved

Detecting a file open event in VB .Net

Posted on 2008-06-13
3
1,149 Views
Last Modified: 2010-05-18
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?
0
Comment
Question by:FINDERSOL
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
planocz earned 500 total points
ID: 21778736
0
 

Author Closing Comment

by:FINDERSOL
ID: 31466879
Thanks, this does the job.  Jjust realised it was the notifyfilter criteria that I was missing in my code!
0
 
LVL 27

Expert Comment

by:planocz
ID: 21780663
I would like to see the code you used.
I could not get the notifyfilter to work right.
Thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now