Click here to Skip to main content
16,016,306 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I have created windows form application.
I have installed it for testing.
It runs fine in windows 7 and xp but in vista it is asking for "Run As Administrator" for every new start of program.
help me to sort this out....
Posted
Comments
Sergey Alexandrovich Kryukov 3-Apr-14 13:15pm    
If you can, get rid of Windows Vista. Such OS does not exist. :-)
—SA

 
Share this answer
 
That's because UAC is turned on in Vista and turned off in your Windows 7 machine.

It's easy enough to fix: "C# manifest run as administrator"[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Apr-14 13:17pm    
Most likely, this is the reason. My 5.
—SA

P.S.: Dave, have you seen my 1st of April publication yet?
Power Over IP: Testing of the First Experimental Facility.
Hope you'll like it and ask me some difficult questions :-)...

—SA
Dave Kreskowiak 4-Apr-14 0:23am    
I saw that. It was brilliant! :)
Sergey Alexandrovich Kryukov 4-Apr-14 0:58am    
Thank you so much.
Abhinav just reported that the power plant was hacked. This is not true. Our PoIP power donor site is under attack, which we plan to mitigate in less than next 24 hours.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900