how to trap directory double click events  
Author Message
AmolJ





PostPosted: .NET Remoting and Runtime Serialization, how to trap directory double click events Top

hi all,

i have one folder in my application directory.

what i want is user should not open this directory which contain important files.

i want to catch double click /mouse click events when user clicks the directory.

please help me out in this regards.

Also if anyone have another solution to this problem it is welcome.

Thanks in advance

Amol



.NET Development4  
 
 
Sean Hederman





PostPosted: .NET Remoting and Runtime Serialization, how to trap directory double click events Top

To do what you're asking is actually very hard indeed. You'd have to create a Shell Extension, and there's numerous issues with creating one of these via .NET. Can I suggest a much simpler solution, which is just to deny the user access rights to the directory.