Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: MultiThreading Pin
Rajesh Anuhya8-Nov-10 18:57
professionalRajesh Anuhya8-Nov-10 18:57 
AnswerRe: MultiThreading Pin
David Skelly8-Nov-10 22:27
David Skelly8-Nov-10 22:27 
AnswerRe: MultiThreading Pin
Luc Pattyn9-Nov-10 1:37
sitebuilderLuc Pattyn9-Nov-10 1:37 
QuestionReturn all form controls to default state Pin
kruegs358-Nov-10 17:20
kruegs358-Nov-10 17:20 
AnswerRe: Return all form controls to default state Pin
Luc Pattyn8-Nov-10 17:26
sitebuilderLuc Pattyn8-Nov-10 17:26 
QuestionCan you gain administrator permission in .NET program? Pin
John Kenedy S.Kom8-Nov-10 16:08
John Kenedy S.Kom8-Nov-10 16:08 
AnswerRe: Can you gain administrator permission in .NET program? Pin
Jacob D Dixon8-Nov-10 17:44
Jacob D Dixon8-Nov-10 17:44 
AnswerRe: Can you gain administrator permission in .NET program? Pin
David Ewen8-Nov-10 17:55
professionalDavid Ewen8-Nov-10 17:55 
It is my understanding that apps like anti-virus programs appear to have admin access from their client tools because they talk to a windows service which is running with elevated privileges. The service is installed when you install the app (which you do get a UAC prompt for) after that point the client tools use IPC to communicate with the privileged service.

There may be (and most probably are) exceptions to this rule, I have not done much work in this area. So if your app really needs admin privileges (it probably shouldn’t) a workaround would be to install a windows service which performs the admin functions and communicate with that.
GeneralRe: Can you gain administrator permission in .NET program? Pin
John Kenedy S.Kom9-Nov-10 0:41
John Kenedy S.Kom9-Nov-10 0:41 
GeneralRe: Can you gain administrator permission in .NET program? Pin
Dave Kreskowiak9-Nov-10 2:05
mveDave Kreskowiak9-Nov-10 2:05 
GeneralRe: Can you gain administrator permission in .NET program? Pin
John Kenedy S.Kom9-Nov-10 14:32
John Kenedy S.Kom9-Nov-10 14:32 
GeneralRe: Can you gain administrator permission in .NET program? Pin
Dave Kreskowiak9-Nov-10 18:37
mveDave Kreskowiak9-Nov-10 18:37 
GeneralRe: Can you gain administrator permission in .NET program? Pin
David Ewen9-Nov-10 12:00
professionalDavid Ewen9-Nov-10 12:00 
QuestionAbout AutoResetEvent, a simple question Pin
jason_mf8-Nov-10 1:15
jason_mf8-Nov-10 1:15 
AnswerRe: About AutoResetEvent, a simple question Pin
Luc Pattyn8-Nov-10 1:42
sitebuilderLuc Pattyn8-Nov-10 1:42 
GeneralRe: About AutoResetEvent, a simple question Pin
RaviRanjanKr8-Nov-10 1:58
professionalRaviRanjanKr8-Nov-10 1:58 
GeneralRe: About AutoResetEvent, a simple question Pin
John Kenedy S.Kom8-Nov-10 16:11
John Kenedy S.Kom8-Nov-10 16:11 
QuestionDataGridView Pin
yesu prakash8-Nov-10 0:31
yesu prakash8-Nov-10 0:31 
AnswerRe: DataGridView Pin
Mycroft Holmes8-Nov-10 11:14
professionalMycroft Holmes8-Nov-10 11:14 
Questionretrieving listview values Pin
annie_bel8-Nov-10 0:13
annie_bel8-Nov-10 0:13 
AnswerRe: retrieving listview values Pin
phil.o8-Nov-10 0:19
professionalphil.o8-Nov-10 0:19 
GeneralRe: retrieving listview values Pin
annie_bel8-Nov-10 0:40
annie_bel8-Nov-10 0:40 
AnswerRe: retrieving listview values Pin
Luc Pattyn8-Nov-10 1:23
sitebuilderLuc Pattyn8-Nov-10 1:23 
AnswerRe: retrieving listview values Pin
RaviRanjanKr8-Nov-10 1:29
professionalRaviRanjanKr8-Nov-10 1:29 
GeneralRe: retrieving listview values Pin
annie_bel8-Nov-10 1:50
annie_bel8-Nov-10 1:50 

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.