Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run as Administrator
Message
 
 
To
05/04/2011 08:40:05
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01506020
Message ID:
01506112
Views:
90
>Hi Doyle.
>
>>Windows Vista and Windows 7 require my VFP application to be run as administrator. To do so a user must open the media (CD) in Explorer, right click on the .Exe and click "Run as Administrator". That's too steep a learning curve for most of its intended user base.
>
>Why does your app need to run as administrator? It's rare that an app actually needs admin privileges. A more common reason is that the app tries to write to protected storage, such as the program files folder or HKEY_LOCAL_MACHINE in the Registry. It's a LOT better for you to tweak your app to not require admin privileges than to make the user run it as administrator. Not only will it be easier for your users, your app will play better with Windows and not have the security hole it does now when it's run as administrator.
>
>If you absolutely have to run as administrator, you can create a manifest that tells Windows to always request elevation. See Craig Boyd's blog (start at http://www.sweetpotatosoftware.com/spsblog/2007/09/25/PEFilesUACRegFreeCOMAndOtherCrazyStuffPart1.aspx) for details.

Doug, that is such a superlative answer. Posts like this are why you are an MVP and have been for many years, including several before you were officially anointed. To me you epitomize the MVP program, those with knowledge who give their time and knowledge selflessly.

If you have any influence, please try to get Viv Phillips in. Don't ask me why this has become such a cause with me but apparently it has. It's just not right. The good and honest things I just said about you are equally true of him. A significant amount of what I know about .NET comes from his posts. That his contributions and knowledge have not been acknowledged is a travesty IMO. I do get it that his not being on the regular speaker circuit may be part of it. He does not move among the movers and shakers. But if you think about the original intent of the MVP program, he should be in and officially recognized.

Others who feel the same way, please respond and add your voices.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform