Solved

Windows Explorer

Posted on 1997-05-01
4
140 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
Comment Utility
I guess this isn't a 50 points question...
0
 

Author Comment

by:Gavin Scurr
Comment Utility
Adjusted points to 150
0
 

Expert Comment

by:msnell
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

15 Experts available now in Live!

Get 1:1 Help Now