Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect UAC on a Vista box
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01334584
Message ID:
01334698
Views:
12
Hi Michael.

>Is there anyway I can detect on a Vista Box that the system has the UAC turned on or off? We are experiencing some issues when a user chooses to perform a housekeeping function in a folder protected by the UAC functionality that works okay when the UAC is turned off.

While that may be acceptable for a short-term kludge, it's best to not require that. I wouldn't want to have to explain to my users that the reason their system was hacked was because the application I wrote required them turning off security.

One possibility is to change permissions so the user does have write rights to the folder (not a good idea if the folder contains executables). Another is to modify the application so it's more flexible in where data is stored.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform