Does anyone have actually used SetWindowsHookEx() to hook upShellExecute() so as to find what application was started bywindows or which folder is currently browsed by explorer. I knowone thing and that is ... Windows uses ShellExecute() to doalmost every task.
I need some implementation help. I want to trigger an userdefined function when suppose Notepad is opened or in simplecase a messagebox that says Notepad has started.
If anyone has a better solution, other than setting a hook toShellExecute pls. inform. Any kind of help will always beappreciated. Pls. keep the implementation in vb.net or C#.
--------------------------------
From: bugs bunny
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>a0mua5x0N02q0V6JDtvtHQ==</Id>