Mathias,
Thanks for your response. But how it can be done for a pure VFP applications in client computers without .NET framework installed.
Ben
>What you need is add a manifest to you executable.
>
>Daniel has a few sample on his blog:
http://www.danielmoth.com/Blog>
>Regards
>
>
>>Does anybody know the code to activate the elevation prompt of Vista so that after a user confirmation click, our program can get the admin right to write files into restricted locations, e.g., the Program Files and Windows folders (not the VirtualStore folder)?
>>
>>I did an Internet search. Some say calling the ShellExecuteEx() API and supplying the "runas" verb as one of its parameters will do the trick. Would anybody provide help about the code?
>>
>>Ben