Click here to Skip to main content
15,914,322 members
Home / Discussions / C#
   

C#

 
QuestionDISPLAYING 16 BIT IMAGES Pin
Rosana200924-Sep-09 9:57
Rosana200924-Sep-09 9:57 
AnswerRe: DISPLAYING 16 BIT IMAGES Pin
Christian Graus24-Sep-09 13:37
protectorChristian Graus24-Sep-09 13:37 
GeneralRe: DISPLAYING 16 BIT IMAGES Pin
Rosana200924-Sep-09 17:45
Rosana200924-Sep-09 17:45 
QuestionHow to create a WCF web service from existing WSDL Pin
Niiiissssshhhhhuuuuu24-Sep-09 9:41
Niiiissssshhhhhuuuuu24-Sep-09 9:41 
QuestionAdmin Rights Pin
Dunk310124-Sep-09 9:34
Dunk310124-Sep-09 9:34 
AnswerRe: Admin Rights Pin
Ennis Ray Lynch, Jr.24-Sep-09 12:56
Ennis Ray Lynch, Jr.24-Sep-09 12:56 
GeneralRe: Admin Rights Pin
Dunk310124-Sep-09 13:15
Dunk310124-Sep-09 13:15 
GeneralRe: Admin Rights Pin
Dave Kreskowiak24-Sep-09 13:28
mveDave Kreskowiak24-Sep-09 13:28 
You don't. You application can request that it runs as the users admin account, if they have one (Vista and above), using a manifest. On XP and below, you simply have to trust that the user is an administrator and handle the case of not being able to write to the file if the user is not. Administrative permissions only go to user accounts, not applications. When a user launches an application, the application inherits the users security token, in effect, impersonating the user that launched the app. The application cannot get more permissions than the user has available to him/her.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Admin Rights Pin
Ennis Ray Lynch, Jr.24-Sep-09 13:40
Ennis Ray Lynch, Jr.24-Sep-09 13:40 
QuestionDisplayIndex like System.Componentmodel.DisplayName? Pin
Member 621528424-Sep-09 9:01
Member 621528424-Sep-09 9:01 
AnswerRe: DisplayIndex like System.Componentmodel.DisplayName? Pin
Henry Minute24-Sep-09 12:05
Henry Minute24-Sep-09 12:05 
GeneralRe: DisplayIndex like System.Componentmodel.DisplayName? Pin
Member 621528424-Sep-09 23:43
Member 621528424-Sep-09 23:43 
GeneralRe: DisplayIndex like System.Componentmodel.DisplayName? Pin
Henry Minute25-Sep-09 3:05
Henry Minute25-Sep-09 3:05 
GeneralRe: DisplayIndex like System.Componentmodel.DisplayName? Pin
Member 621528430-Sep-09 2:47
Member 621528430-Sep-09 2:47 
Questiondelete Pin
nhqlbaislwfiikqraqnm24-Sep-09 8:28
nhqlbaislwfiikqraqnm24-Sep-09 8:28 
AnswerRe: All in one exe? Pin
Manas Bhardwaj24-Sep-09 8:36
professionalManas Bhardwaj24-Sep-09 8:36 
GeneralRe: All in one exe? Pin
nhqlbaislwfiikqraqnm24-Sep-09 8:57
nhqlbaislwfiikqraqnm24-Sep-09 8:57 
GeneralRe: All in one exe? Pin
DaveyM6924-Sep-09 9:18
professionalDaveyM6924-Sep-09 9:18 
GeneralRe: All in one exe? Pin
PIEBALDconsult24-Sep-09 9:52
mvePIEBALDconsult24-Sep-09 9:52 
AnswerRe: All in one exe? Pin
PIEBALDconsult24-Sep-09 8:38
mvePIEBALDconsult24-Sep-09 8:38 
GeneralRe: All in one exe? Pin
nhqlbaislwfiikqraqnm24-Sep-09 8:59
nhqlbaislwfiikqraqnm24-Sep-09 8:59 
GeneralRe: All in one exe? Pin
PIEBALDconsult24-Sep-09 9:53
mvePIEBALDconsult24-Sep-09 9:53 
AnswerRe: All in one exe? Pin
Luc Pattyn24-Sep-09 9:58
sitebuilderLuc Pattyn24-Sep-09 9:58 
AnswerRe: All in one exe? Pin
Mirko198024-Sep-09 21:46
Mirko198024-Sep-09 21:46 
Questionhow to add costum control to custom control via designer. [modified] Pin
Natural_Demon24-Sep-09 8:10
Natural_Demon24-Sep-09 8:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.