Windows Explorer

I am designing a security application.

The idea of it is that when a folder is accessed under the windows explorer my application creates and executes a form that basically requires a password before the folder will be displayed.

My question is - How do I return values from the windows explorer so that I may intercept the opening of the folder???
Gavin ScurrAsked:
Who is Participating?
 
kangadruConnect With a Mentor Commented:
What is required is that you write a combonation of Shell Extensions that the explorer loads before displaying the folder contents.  Under normal circumstances the explore loads a default namespace extension to display the Folder contents.  What you are attempting to do is preempt that enumeration by a security lock. Now this is not as terribly terifying as it sounds, you don't have to rewrite the actuall folder enumeration as you can then call that inproc server but you do have to implement an IShellBrowser and an IShellFolder Extension in order to force the display of your form. If this is your first foray into COM/OLE/ActiveX you are in for some fun coding, it is intimidating at first glance but a search of the Microsoft site will provide a rather well written article by Jeff Prosise on Shell Extensions that deals with the basics of a shell extensionAndy
0
 
javiertbCommented:
I guess this isn't a 50 points question...
0
 
Gavin ScurrAuthor Commented:
Adjusted points to 150
0
 
msnellCommented:
You would have to register a COM object to do it.
Look at the SH... funtions in the Windows API.
I have no idea of the details :)
0
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.

All Courses

From novice to tech pro — start learning today.