Anyone know how to protect a folder from Access.
I mean when someone open my folder my program will load and ask for permision.
Thanks
Printable View
Anyone know how to protect a folder from Access.
I mean when someone open my folder my program will load and ask for permision.
Thanks
Use the GetForegroundWindow and GetWindowText api to watch for the name of the folder. When a match is found, use the hwnd to minimize the folder till a password is entered.
Use the GetForegroundWindow and GetWindowText api to watch for the name of the folder. When a match is found, use the hwnd to minimize the folder till a password is entered.
*This is easily defeated by renaming the folder*
Thanks for you help. It is really nice.
But I still can do the job.
I want another help from you.
I want to know how do I keep watching and verify for the Folder I want to protect.
I can do now just when my program load.
But not when a folder is opened.
Thanks in advance,
Vbkids
Just set a timer control to go off every couple of seconds to check for the folder's caption.