It is possible, You will have to edit the Manifest File,
Give me 5 mins or So, I will make a tutorial
_______________________________________
Hey how do you guys make the program administrator mandatory.
So the program always needs to be run as admin.
It is possible, You will have to edit the Manifest File,
Give me 5 mins or So, I will make a tutorial
_______________________________________
[IMG]https://i371.photobucke*****m/albums/oo152/helicopter12/Untitled-6.png[/IMG]
"asInvoker" - Current User Level
"highestAvailable" - Highest Current User Has
"requireAdministrator" - Require Admin
I want to know aswell. thanks gen
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Not a problem, I am making a full tutorial, as I said It will be in the vb section soon.
Edit: Actually No need to
|-|3|_][({}PT3R12
added a screenshot
In either case
Show All files in your Solutions Explorer
Navigate to the Bin Folder ----> Debug ----> Applicationname.Vshost.exe.Manifest File
Double Click it and
add this code
[php]
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0"
xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</asmv1:assembly>
[/php]
Replacing it with the existing code
or
Use the existing code
The information is as followsCode:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>
requireAdministrator:
highestAvailable:
asInvoker: Vb.net Default
So for this particular case it would be
Code:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> <requestedExecutionLevel level="requireAdministrator:" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>
I was going to make a full Tutorial with how to use this, plus how to use it on a per sub basis, meaning if you want to require admin for a specific part of the code, but there is no need.
Hope this helps
Last edited by NextGen1; 03-07-2010 at 01:01 PM.
i dont think it works.
I used the first method and i built the project.
I ran the program. Still no admin required.
It worked for me
Need Help With Coding or Something??? MSN me
zmansquared@hotmail.com
I am the one and only Microsoft Fag!!!
Quote:
Originally Posted by Arhk
All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
~
Take this Pic everyone!
next-
Works for me as well.