Click here to Skip to main content
15,892,537 members
Home / Discussions / C#
   

C#

 
Questionstarting other apps? Pin
Peter Reiter5-Jan-04 6:54
Peter Reiter5-Jan-04 6:54 
AnswerRe: starting other apps? Pin
Guillermo Rivero5-Jan-04 7:07
Guillermo Rivero5-Jan-04 7:07 
AnswerRe: starting other apps? Pin
Heath Stewart5-Jan-04 7:15
protectorHeath Stewart5-Jan-04 7:15 
GeneralRe: starting other apps? Pin
Guillermo Rivero5-Jan-04 7:22
Guillermo Rivero5-Jan-04 7:22 
QuestionBest code for this multithreading issue? Pin
profoundwhispers5-Jan-04 6:32
profoundwhispers5-Jan-04 6:32 
AnswerRe: Best code for this multithreading issue? Pin
HAHAHA_NEXT5-Jan-04 7:22
HAHAHA_NEXT5-Jan-04 7:22 
AnswerRe: Best code for this multithreading issue? Pin
Heath Stewart5-Jan-04 7:28
protectorHeath Stewart5-Jan-04 7:28 
Generalcustom save/open file dialog Pin
misterbear5-Jan-04 6:31
misterbear5-Jan-04 6:31 
GeneralRe: custom save/open file dialog Pin
Heath Stewart5-Jan-04 7:13
protectorHeath Stewart5-Jan-04 7:13 
GeneralRe: custom save/open file dialog Pin
misterbear5-Jan-04 8:43
misterbear5-Jan-04 8:43 
GeneralRe: custom save/open file dialog Pin
Heath Stewart5-Jan-04 9:52
protectorHeath Stewart5-Jan-04 9:52 
GeneralEasy Form Question Pin
Guinness4Strength5-Jan-04 6:19
Guinness4Strength5-Jan-04 6:19 
GeneralRe: Easy Form Question Pin
Heath Stewart5-Jan-04 7:04
protectorHeath Stewart5-Jan-04 7:04 
GeneralRe: Easy Form Question Pin
Niels Penneman5-Jan-04 10:11
Niels Penneman5-Jan-04 10:11 
GeneralRun a External EXE File Pin
hxxbin5-Jan-04 6:16
hxxbin5-Jan-04 6:16 
GeneralRe: Run a External EXE File Pin
Heath Stewart5-Jan-04 7:00
protectorHeath Stewart5-Jan-04 7:00 
GeneralRe: Run a External EXE File Pin
hxxbin5-Jan-04 7:07
hxxbin5-Jan-04 7:07 
GeneralRe: Run a External EXE File Pin
Heath Stewart5-Jan-04 7:37
protectorHeath Stewart5-Jan-04 7:37 
Windows Services do run under user credentials, be they SYSTEM, SERVICE, IUSR_COMPUTERNAME (default for IIS), or a specified user. It just doesn't have to be executed by a logged-in user.

You could use a Windows Service, but you should then use the ServiceController class. If you want to allow interaction by controller applications by the user (like a Control Panel applet or some application), you'll need to allow for desktop interaction. If you use the ServiceInstaller and ServiceProcessInstaller classes to install the service, you'll have to use the Microsoft.Win32.Registry class and related classes to set this property in the registry. If you don't need to use an installer (for example, for mass deployment) then you could just use the Services snap-in to do it manually.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Run a External EXE File Pin
hxxbin5-Jan-04 8:42
hxxbin5-Jan-04 8:42 
GeneralRe: Run a External EXE File Pin
Heath Stewart5-Jan-04 9:37
protectorHeath Stewart5-Jan-04 9:37 
GeneralRe: Run a External EXE File Pin
hxxbin5-Jan-04 11:33
hxxbin5-Jan-04 11:33 
GeneralCryptography Question Pin
Mazdak5-Jan-04 4:09
Mazdak5-Jan-04 4:09 
GeneralRe: Cryptography Question Pin
Heath Stewart5-Jan-04 5:18
protectorHeath Stewart5-Jan-04 5:18 
GeneralRe: Cryptography Question Pin
Mazdak5-Jan-04 7:46
Mazdak5-Jan-04 7:46 
GeneralRe: Cryptography Question Pin
Heath Stewart5-Jan-04 9:32
protectorHeath Stewart5-Jan-04 9:32 

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.