Solved

Windows Explorer

Posted on 1997-05-01
4
156 Views
Last Modified: 2010-04-06
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???
0
Comment
Question by:Gavin Scurr
4 Comments
 
LVL 2

Expert Comment

by:javiertb
ID: 1335835
I guess this isn't a 50 points question...
0
 

Author Comment

by:Gavin Scurr
ID: 1335836
Adjusted points to 150
0
 

Expert Comment

by:msnell
ID: 1335837
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
 

Accepted Solution

by:
kangadru earned 150 total points
ID: 1335838
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 104
Run video youtube webbrowse 10 73
How to debug For loops? 3 60
tidtcpserver connection lost handle 2 109
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…

679 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