Dialog based Application should always run as Admininstrator.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Dialog based Application should always run as Admininstrator.

  1. #1
    Join Date
    Jan 2008
    Location
    India
    Posts
    780

    Dialog based Application should always run as Admininstrator.

    Hi all,

    i m working on VS-2008,and os is windows vista.

    in case of UAC enable on Windows Vista, when i run my application its show a dialog box to allow or cancel the process.

    i want when i run it,its always run like Administrator with full rights.

    please tell me how can i do this.

    thhanks in advance
    IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Dialog based Application should always run as Admininstrator.

    please tell me how can i do this.
    The user needs admin rights to run. You can't give your app admin rights by itself.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center