How to make a file so that it can't be deleted from the system?
Hi there,
I am a VBA user, currently working on a project which requires me to
system-lock a file. I couldn't find a way to do this. I need a file to
be created, let say "test.xls". This file finally has to be locked so
that only Administrator of the system (e.g. Win2K admin) can delete the
file. Otherwise, user who tries to delete the file from Windows
Explorer will see an error message saying that the file couldn't be
deleted (Windows error message). Appreciate any help! Thanks.
Hakimi
|