![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Vista User Account Control As a developer there is a lot of new stuff to learn regarding Vista. I hope someone in here can answer some short questions. 1. If I shield a button in my application, how can I then make sure that the process gets elevated (Vista brings up the UI for elevation) when the button is pressed? Is this not possible to do? Is the correct way to do this to load a COM module (with an UI) with "requireAdministrator" execution level? 2. Is it correct that the only way to get elevated is upon start of a process or is it possible to elevate a process after it has started? (I know I can't elevate the process by code, but is it possible to force the "elevate" window to popup by code?) |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Vista User Account Control Hello, A process/instance of a COM component is either elevated or it is not. Once it is running, it cannot switch its elevation status. The elevation process is handled by Windows and is configurable via the appropriate API entries such as ShellExecute. The "shielded" status of a button has no bearing on UAC - it is for visual purposes only. -- - JB Microsoft MVP - Windows Shell/User Windows Vista Support Faq http://www.jimmah.com/vista/ |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disable User Account Control just for admin profile? Vista Home Premium | Tuttle | Vista General | 7 | 06-11-2008 10:02 PM |
| Vista User Account Control | Roger Stenson | Vista General | 41 | 08-18-2007 06:04 PM |
| When User Account Control is enabled, Vista Games Explorer won't s | griz_fan | Vista Games | 0 | 06-18-2007 08:00 AM |
| Inside Windows Vista User Account Control (Mark Russinovich) | Milhouse Van Houten | Vista security | 2 | 05-24-2007 11:09 PM |
| Restarting a Windows Service with C# under Vista when User Account Control is Enabled | gourmet | Vista security | 3 | 04-04-2007 04:52 AM |