Click here to Skip to main content
16,005,316 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with FieldInfo SetValue Pin
Nnamdi Onyeyiri10-Nov-04 8:42
Nnamdi Onyeyiri10-Nov-04 8:42 
General.wav playback problem in C# Pin
Codesmith200310-Nov-04 8:28
Codesmith200310-Nov-04 8:28 
GeneralRe: .wav playback problem in C# Pin
Codesmith200310-Nov-04 8:49
Codesmith200310-Nov-04 8:49 
GeneralRe: .wav playback problem in C# Pin
Anonymous10-Nov-04 16:05
Anonymous10-Nov-04 16:05 
GeneralC# windows service using Word Pin
Nick Ingratta10-Nov-04 8:08
Nick Ingratta10-Nov-04 8:08 
GeneralRe: C# windows service using Word Pin
Heath Stewart10-Nov-04 8:44
protectorHeath Stewart10-Nov-04 8:44 
GeneralRe: C# windows service using Word Pin
Nick Ingratta10-Nov-04 8:57
Nick Ingratta10-Nov-04 8:57 
GeneralRe: C# windows service using Word Pin
Heath Stewart10-Nov-04 9:09
protectorHeath Stewart10-Nov-04 9:09 
It should be obvious: Username and Password.

It makes perfect sense if you understand Windows. Word is a Windows program. Whether or not it is visible, it requires a Window manager. If a service isn't associated with a user login - or can't interact with the currently logged in user - there's no window manager and the Windows program (i.e., Word) won't run.

So, you need to run your service as a user that can log in interactively. This doesn't mean that a login session as you'd normally see it as a human user would exist, just that the system impersonates the user given their credentials and creates a window station under that user's contect. This is necessary.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: C# windows service using Word Pin
Nick Ingratta11-Nov-04 4:15
Nick Ingratta11-Nov-04 4:15 
GeneralRe: C# windows service using Word Pin
Heath Stewart11-Nov-04 6:30
protectorHeath Stewart11-Nov-04 6:30 
GeneralRe: C# windows service using Word Pin
Nick Ingratta11-Nov-04 6:34
Nick Ingratta11-Nov-04 6:34 
GeneralRe: C# windows service using Word Pin
Heath Stewart11-Nov-04 6:37
protectorHeath Stewart11-Nov-04 6:37 
GeneralRe: C# windows service using Word Pin
Nick Ingratta11-Nov-04 7:57
Nick Ingratta11-Nov-04 7:57 
GeneralRe: C# windows service using Word Pin
Heath Stewart11-Nov-04 8:09
protectorHeath Stewart11-Nov-04 8:09 
GeneralRe: C# windows service using Word Pin
Nick Ingratta11-Nov-04 8:14
Nick Ingratta11-Nov-04 8:14 
GeneralRe: C# windows service using Word Pin
Heath Stewart11-Nov-04 8:24
protectorHeath Stewart11-Nov-04 8:24 
GeneralRe: C# windows service using Word Pin
leppie11-Nov-04 0:13
leppie11-Nov-04 0:13 
GeneralRe: C# windows service using Word Pin
Heath Stewart11-Nov-04 6:34
protectorHeath Stewart11-Nov-04 6:34 
GeneralCLR access policy for a C# control Pin
fridtjof10-Nov-04 8:04
fridtjof10-Nov-04 8:04 
GeneralRe: CLR access policy for a C# control Pin
Judah Gabriel Himango10-Nov-04 8:22
sponsorJudah Gabriel Himango10-Nov-04 8:22 
GeneralRe: CLR access policy for a C# control Pin
Nick Parker10-Nov-04 8:23
protectorNick Parker10-Nov-04 8:23 
GeneralDynamic user controls Pin
HectorB10-Nov-04 7:46
HectorB10-Nov-04 7:46 
GeneralRe: Dynamic user controls Pin
Nick Parker10-Nov-04 8:10
protectorNick Parker10-Nov-04 8:10 
Generaldestroy dll Pin
ppp00110-Nov-04 7:15
ppp00110-Nov-04 7:15 
GeneralRe: destroy dll Pin
Nick Parker10-Nov-04 7:28
protectorNick Parker10-Nov-04 7:28 

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.