Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating Vista elevation prompt
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Activating Vista elevation prompt
Environment versions
OS:
Vista
Miscellaneous
Thread ID:
01189901
Message ID:
01189901
Views:
80
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
Next
Reply
Map
View

Click here to load this message in the networking platform