I believe deleting is the same as writing, so disabling write permission should disable deleting.
Look up the SetFileSecurity() function.
This should do the trick.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |