Click here to Skip to main content
14,639,661 members
Rate this:
Please Sign up or sign in to vote.
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
   
If you can, get rid of Windows Vista. Such OS does not exist. :-)
—SA
Rate this:
Please Sign up or sign in to vote.

Solution 1

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"[^]
   
Comments
   
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! :)
   
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
Rate this:
Please Sign up or sign in to vote.

Solution 2

   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100