Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
GeneralRe: Subscript literal Pin
Martijn Boeker2-Nov-10 12:58
Martijn Boeker2-Nov-10 12:58 
GeneralRe: Subscript literal Pin
Dave Kreskowiak2-Nov-10 14:05
mveDave Kreskowiak2-Nov-10 14:05 
GeneralRe: Subscript literal Pin
Martijn Boeker2-Nov-10 14:47
Martijn Boeker2-Nov-10 14:47 
GeneralRe: Subscript literal Pin
AspDotNetDev2-Nov-10 14:59
protectorAspDotNetDev2-Nov-10 14:59 
GeneralRe: Subscript literal Pin
Martijn Boeker2-Nov-10 15:13
Martijn Boeker2-Nov-10 15:13 
GeneralRe: Subscript literal Pin
AspDotNetDev2-Nov-10 15:29
protectorAspDotNetDev2-Nov-10 15:29 
GeneralRe: Subscript literal Pin
Martijn Boeker2-Nov-10 15:36
Martijn Boeker2-Nov-10 15:36 
GeneralRe: Subscript literal Pin
Richard A. Dalton3-Nov-10 3:43
Richard A. Dalton3-Nov-10 3:43 
GeneralRe: Subscript literal Pin
Mycroft Holmes2-Nov-10 21:19
professionalMycroft Holmes2-Nov-10 21:19 
GeneralRe: Subscript literal Pin
Martijn Boeker3-Nov-10 12:15
Martijn Boeker3-Nov-10 12:15 
GeneralRe: Subscript literal Pin
Mycroft Holmes3-Nov-10 12:52
professionalMycroft Holmes3-Nov-10 12:52 
GeneralRe: Subscript literal Pin
Martijn Boeker3-Nov-10 13:16
Martijn Boeker3-Nov-10 13:16 
QuestionHow to send redraw message to background windows Pin
manchukuo2-Nov-10 8:30
manchukuo2-Nov-10 8:30 
AnswerRe: How to send redraw message to background windows Pin
kevinnicol2-Nov-10 9:00
kevinnicol2-Nov-10 9:00 
AnswerRe: How to send redraw message to background windows Pin
Luc Pattyn2-Nov-10 9:34
sitebuilderLuc Pattyn2-Nov-10 9:34 
QuestionPrint a file on printer Pin
abbd2-Nov-10 7:31
abbd2-Nov-10 7:31 
AnswerRe: Print a file on printer Pin
OriginalGriff2-Nov-10 7:52
mveOriginalGriff2-Nov-10 7:52 
QuestionRe: Print a file on printer Pin
abbd2-Nov-10 8:01
abbd2-Nov-10 8:01 
AnswerRe: Print a file on printer Pin
Martijn Boeker2-Nov-10 11:04
Martijn Boeker2-Nov-10 11:04 
GeneralRe: Print a file on printer Pin
abbd3-Nov-10 0:48
abbd3-Nov-10 0:48 
AnswerRe: Print a file on printer Pin
Henry Minute2-Nov-10 10:01
Henry Minute2-Nov-10 10:01 
QuestionHow to run program at windows startup with administrator rights (on VISTA and Windows 7 )? Pin
Aseem Sharma2-Nov-10 6:48
Aseem Sharma2-Nov-10 6:48 
Hi friends,

My application needs administrator rights to function properly. If user wants to launch the application manually, he has to right click to pop context menu up and then selecting the option "Run as Administrator". But it could be irritating to so many users.

How can the application be started with full/administrator/escalated rights when it is being launched automatically at windows startup? I need to do this on VISTA and Windows 7.

Also is it possible that the application, irrespective of if it is launched manually or automatically at startup, always get started with administrator rights?

I need to do this thing programmatically (using C# or installshield). Please help me.

Thanks in advance,
Aseem
modified on Tuesday, November 2, 2010 1:01 PM

AnswerRe: How to run program at windows startup with administrator rights (on VISTA and Windows 7 )? Pin
Eddy Vluggen2-Nov-10 9:17
professionalEddy Vluggen2-Nov-10 9:17 
GeneralRe: How to run program at windows startup with administrator rights (on VISTA and Windows 7 )? Pin
PIEBALDconsult2-Nov-10 18:16
mvePIEBALDconsult2-Nov-10 18:16 
AnswerRe: How to run program at windows startup with administrator rights (on VISTA and Windows 7 )? Pin
Dave Kreskowiak2-Nov-10 14:01
mveDave Kreskowiak2-Nov-10 14:01 

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.