Click to See Complete Forum and Search --> : Protect files


Fanta
May 11th, 2005, 08:20 AM
I have a folder containing different multimedia files in my PC. I want my friends to listen and watch the files in the folder but not copying and deleting them. How can i do this in vb?

HanneSThEGreaT
May 11th, 2005, 08:51 AM
Hopefully this link is useful:

http://www.codeguru.com/forum/showthread.php?t=17468&highlight=prevent+copy

Hope it helps!:wave:

Fanta
May 11th, 2005, 09:10 AM
Thanks so much Hanne it is useful but it couldn't help me to prevent copying and deleting.

Shuja Ali
May 11th, 2005, 11:27 AM
Will these links be of any help??

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/copyhookhandlers.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/shell_ext.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/icopyhook/icopyhook.asp


You have to be an expert programmer to do such kind of things coz you are going to set hook on Windows Shell.. These links will give a little insight....

hope this helps a bit.....

cjard
May 11th, 2005, 12:08 PM
this is not a vb programming issue.. take it to the windows OS issue forum and ask them how to share a folder to other (network) users with read-only permissions

Fanta
May 12th, 2005, 05:24 PM
Thanks every body! I just thaught that there is no easy trick to do it in windows, and i was looking for vb solution. That's why i posted it in vb 6 forum, which i a have an insight.

I am trying the apprach posted by vb_the_best.... using hooks but not progress so far. Any approach is wel come!