I have a program that uses the registry to save the last 10 files that have been opened. Once I tried to save them on the local machine, but instead decided to save them with the current user. While trying to get everything to work, I created a manifest to force the Run as administrator program, which I don't believe, takes more. The problem that I am facing is that I cannot remove this requirement.
I have .... Changed the project properties to "Create an application without a manifest", added a new element called app.manifest, which uses asInvoker by default and changed the properties for using this manifest, renamed any file that has a word manifest in file name.
None of these attempts worked. The program still works as an administrator. I have to miss something, but I'm not sure what.
Here are the lines in app.manifest
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> <requestedExecutionLevel level="asInvoker" uiAccess="false" /> </requestedPrivileges>
Thanks for the help!
Gary
source share