0

i am making a security program which only administrator can run.

now i place one checkbox in registration form that if the user is administrator then he will check that box and program will not ask for " run as administrator"

now i need code for checkbox something like

if checkbox1=true then
program can run without selection run as administrator

else

you are not administrator to run this program

something like this

1
Contributor
1
Reply
11
Views
2 Years
Discussion Span
Last Post by OMER AHMED
0

<requestedExecutionLevel level="asInvoker" uiAccess="false" />

i tried changing "asInvoker" to "highestAvailable" but still not working ... i have 5 forms from which 1 form need administrator privilege which i want to disable and run that form without privilege .. how i can do that

Edited by OMER AHMED

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.