>I got a file name from GETFILE(), but i don't want to let user delete any files in it.
You can't with the GETFILE() dialog. Whether the user can delete files depends on the permissions the user has. If you are the administrator, just deny them the right to delete files. Otherwise there's not much you can.
If you want to prevent the user from deleting files in this dialog, you need to write your own dialog in VFP using ADIR(), listboxes, and the like.
--
Christof