Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows Explorer

Posted on 1997-05-01
4
Medium Priority
?
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 450 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

688 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