enable uac by vc++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: enable uac by vc++

  1. #1
    Join Date
    Jun 2010
    Posts
    23

    enable uac by vc++

    Hello,

    I writed a program that saves data on file, its runs on windows XP ,but whan I execute it on windows 7 its not open the file, I understood its because the uac property,
    if somebody know how can I disable the uac from my program ,
    I would be vary thankfull for him.

    thanks

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,297

    Re: enable uac by vc++

    This isn't possible to do programmatically. If it was, it would be a huge security hole.

  3. #3
    Join Date
    Jun 2010
    Posts
    23

    Re: enable uac by vc++

    hello,

    but I saw a program that open a dialog box that asks the user confirm to do it .

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,297

    Re: enable uac by vc++

    Quote Originally Posted by aangerma View Post
    hello,

    but I saw a program that open a dialog box that asks the user confirm to do it .
    Prompting the user to elevate permissions is completely different than programmatically disabling UAC.

    See http://msdn.microsoft.com/en-us/library/bb530410.aspx for writing UAC compliant apps.

  5. #5
    Join Date
    Jun 2010
    Posts
    23

    Re: enable uac by vc++

    Thank you!

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center