Jump to content
Fórum Script Brasil
  • 0

UAC - Previlegios - Debug da aplicaçao


CarlosGP

Question

Boas pessoal, outro problema na minha aplicação. sempre que a coloco num novo computador, tenho que ir as propriedades do executável -> compatibilidade -> mudar a configuração para todos os utilizadores e no nível de privilegio seleccionar a caixa "Executar este programa como administrador"

Já tentei inclusive este código no app.manifest para ver se conseguia resolver o problema mas não consigo...

<?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"
     processorArchitecture="X86"
     name="IsUserAdmin"
     type="win32"/>
  <description>Description of your application</description>
  <!-- Identify the application security requirements. -->
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel
          level="requireAdministrator"
          uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>

Existe forma de o executável ser criado pelo vb.2010 com essa opçao já activa????

Obrigado a todos..

Carlos Pinheiro

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...