CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2016
    Posts
    1

    Access VB6 shellexcute a VB.Net exe

    Hi All
    We have an Access VB6 program (developed over many years) that gets installed by us on customers machines.
    I have now added a VB.Net program to the mix that gets run (ShellExecute'ed)from the VB6 program under certain circumstances.
    Is there any way that I can prevent customers machines (running W7/8/10) popping up the UAC dialog box?
    The VB.Net prog has a Manifest that contains all the stuff that others have suggested and make no difference:
    <requestedExecutionLevel level="asInvoker" uiAccess="false" />
    </requestedPrivileges>
    <applicationRequestMinimum>
    <defaultAssemblyRequest permissionSetreference="FullTrust" permissionSetReference="FullTrust" />"
    <PermissionSet version="1" ID="FullTrust" unrestricted="true" SameSite="site" Unrestricted="true">
    <IPermission class="System.Security.Permissions.FileDialogPermission, mscorlib, Version=1.2.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
    </PermissionSet></applicationRequestMinimum>
    Any help gratefully received
    Cheers
    Dave

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Access VB6 shellexcute a VB.Net exe

    Not sure what an Access VB6 program is since those are two totally separate things. I assume that you are either using Access VBA macros or you have an actual VB6 program and just use an Access format file as a backend data container.

    In any case perhaps this would be of some help
    http://www.sevenforums.com/tutorials...pt-create.html
    Always use [code][/code] tags when posting code.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured