|
-
Feb 17th, 2000, 08:50 PM
#1
Thread Starter
Junior Member
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
-
Feb 18th, 2000, 04:38 AM
#2
Junior Member
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.
-
Feb 18th, 2000, 04:40 AM
#3
Junior Member
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*
-
Feb 21st, 2000, 07:03 PM
#4
Thread Starter
Junior Member
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
-
Mar 9th, 2000, 05:20 AM
#5
Junior Member
Just set a timer control to go off every couple of seconds to check for the folder's caption.
May the source be with you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|