Hi Rommel, I guess I am not sure what it is exactly that you are asking. Do you want to restrict the access to the desktop, programs, explorer, etc to each user of a pc and either make them all the same or restrict access based on the username? If so, that is what policies are for. You can edit an .ini file from within VFP, but I'm not sure why you would want to do that to meet your needs in this case. Why would you want to do this from within VFP? This should take effect when the user logs into the pc before they ever access the VFP app. Unless I didn't understand something?
Tracy
>Is there any way to restrict the user of the PC in accessing the contents of the PC. It aims to restrict the user from launching windows explorer, my computer through shortcut in desktop and running it run program.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"