Detecting When Windows Closes a file

I need to determine (in VB) when windows closes a file on my computer. I want to inspect it and copy it if it is the right type of file. Seems like I read somewhere that a system message is sent to all open windows when a file is closed, but I can't find anything on it it now. Can anyone help me?
gdwrightAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vinnyd79Commented:
gdwrightAuthor Commented:
vinnyd79, thanks for your response. I haven't forgotten you. I've been busy looking all over the web for a way to determine what changed. Unfortunately, I'm working in Win98. For NT and 2000+ I can use ReadDirectoryChangesW. Any suggestions on what I might do to include our Win98 machines? They will be eventually upgraded, but not in this economy.
DanRollinsCommented:
gdwright, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Refund points and save as a 0-pt PAQ.

DanRollins -- EE database cleanup volunteer
SpazMODicCommented:
PAQed, with points refunded (200)

SpazMODic
EE Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.