What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Force UAC

Force UAC
Author: Message:
djdannyp
Elite Member
*****

Avatar
Danny <3 Sarah

Posts: 3546
Reputation: 31
38 / Male / Flag
Joined: Mar 2006
O.P. Force UAC
And for the hat-trick.....

I'm modifying a C# program which needs UAC on vista (as it needs registry access) and i'm having problems.

When it initially launches it launches from a C++ program which is set to ask for UAC, so it automatically runs as elevated.....however after a computer re-start (which is often required) the C# program automatically re-launches at the point where it left off......but it doesn't give the UAC prompt and so it can't access the registry and throws up errors.

I don't have access to it now, but my work-around was to right click on the second program and click the "run as administrator" box, so that it always forces the UAC prompt when it loads.......however i'm sure there must be an easier way

I'm using Visual Studio 2008.....is there some way to compile a program such that it will require UAC?  Like a setting or something?  Or is my best bet to go for what I was thinking?

Thanks in advance :)
[Image: 1ftt0hpk-signature.png]
AutoStatus Script || Facebook Status Script
5426 days, 22 hours, 41 minutes, 53 seconds ago
01-15-2009 07:43 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Force UAC - by djdannyp on 01-15-2009 at 07:43 PM
RE: Force UAC - by Mike on 01-15-2009 at 08:44 PM
RE: RE: Force UAC - by Vilkku on 01-15-2009 at 09:05 PM
RE: Force UAC - by Mike on 01-15-2009 at 09:14 PM
RE: Force UAC - by prashker on 01-15-2009 at 09:17 PM
RE: Force UAC - by vaccination on 01-15-2009 at 09:17 PM
RE: Force UAC - by djdannyp on 01-16-2009 at 08:55 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On