Click to See Complete Forum and Search --> : enable uac by vc++


aangerma
June 23rd, 2010, 01:30 AM
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

Arjay
June 23rd, 2010, 01:35 AM
This isn't possible to do programmatically. If it was, it would be a huge security hole.

aangerma
June 23rd, 2010, 01:57 AM
hello,

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

Arjay
June 23rd, 2010, 10:56 AM
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.

aangerma
June 24th, 2010, 04:20 AM
Thank you!