Click here to Skip to main content
15,890,897 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Scrollbar height and width Pin
dan!sh 21-Jan-09 20:03
professional dan!sh 21-Jan-09 20:03 
GeneralRe: Scrollbar height and width Pin
r.ps21-Jan-09 20:30
r.ps21-Jan-09 20:30 
QuestionCombobox in DataGridView Pin
Chrispie12321-Jan-09 18:25
Chrispie12321-Jan-09 18:25 
AnswerRe: Combobox in DataGridView Pin
Johan Hakkesteegt22-Jan-09 3:04
Johan Hakkesteegt22-Jan-09 3:04 
Questionbutton in a listview Pin
saturdayman21-Jan-09 13:00
saturdayman21-Jan-09 13:00 
AnswerRe: button in a listview Pin
Mycroft Holmes21-Jan-09 16:51
professionalMycroft Holmes21-Jan-09 16:51 
QuestionStarting a process from a windows service running as User? Pin
James Dowthwaite21-Jan-09 10:10
James Dowthwaite21-Jan-09 10:10 
AnswerRe: Starting a process from a windows service running as User? Pin
Dave Kreskowiak21-Jan-09 11:06
mveDave Kreskowiak21-Jan-09 11:06 
Jim Dowthwaite wrote:
Is it possible to start a process (that shows a form) if the windows service I've created is running with User credentials?


Yes and no. Yes, it's possible, but only if the service is running as LocalSystem with the "Interact with Desktop" option enabled. The problem with this is that you may show a form without a user being logged in, in which case, your code will sit there forever waiting for a user that will NEVER see the form, even if someone logs in afterwards.

You SHOULD be writing two applications. The service that does your work, and a seperate UI application that communicates with the service and handles ALL UI work required.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Starting a process from a windows service running as User? Pin
James Dowthwaite21-Jan-09 11:46
James Dowthwaite21-Jan-09 11:46 
GeneralRe: Starting a process from a windows service running as User? Pin
Dave Kreskowiak21-Jan-09 12:09
mveDave Kreskowiak21-Jan-09 12:09 
GeneralRe: Starting a process from a windows service running as User? Pin
James Dowthwaite22-Jan-09 2:16
James Dowthwaite22-Jan-09 2:16 
GeneralRe: Starting a process from a windows service running as User? Pin
Dave Kreskowiak22-Jan-09 12:15
mveDave Kreskowiak22-Jan-09 12:15 
QuestionFramework Bug - Known or Unknown? Pin
nlarson1121-Jan-09 10:02
nlarson1121-Jan-09 10:02 
AnswerRe: Framework Bug - Known or Unknown? Pin
Dave Kreskowiak21-Jan-09 11:03
mveDave Kreskowiak21-Jan-09 11:03 
GeneralRe: Framework Bug - Known or Unknown? Pin
nlarson1121-Jan-09 11:15
nlarson1121-Jan-09 11:15 
GeneralRe: Framework Bug - Known or Unknown? Pin
Dave Kreskowiak21-Jan-09 12:13
mveDave Kreskowiak21-Jan-09 12:13 
GeneralRe: Framework Bug - Known or Unknown? Pin
nlarson1121-Jan-09 14:07
nlarson1121-Jan-09 14:07 
GeneralRe: Framework Bug - Known or Unknown? Pin
Dave Kreskowiak21-Jan-09 18:33
mveDave Kreskowiak21-Jan-09 18:33 
AnswerRe: Framework Bug - Known or Unknown? Pin
Eddy Vluggen21-Jan-09 23:53
professionalEddy Vluggen21-Jan-09 23:53 
GeneralRe: Framework Bug - Known or Unknown? Pin
nlarson1122-Jan-09 4:15
nlarson1122-Jan-09 4:15 
AnswerRe: Framework Bug - Known or Unknown? Pin
Ben Fair22-Jan-09 9:19
Ben Fair22-Jan-09 9:19 
QuestionDynamic Item Template DropDownList in DataGrid, Grid disappears on SelectedIndexChanged Pin
Member 327333921-Jan-09 6:37
Member 327333921-Jan-09 6:37 
QuestionQuestion on strongly typed datasets and using the typed datarows. Pin
Jon_Boy21-Jan-09 4:39
Jon_Boy21-Jan-09 4:39 
AnswerRe: Question on strongly typed datasets and using the typed datarows. Pin
Steven J Jowett21-Jan-09 22:04
Steven J Jowett21-Jan-09 22:04 
GeneralRe: Question on strongly typed datasets and using the typed datarows. [modified] Pin
Jon_Boy22-Jan-09 1:11
Jon_Boy22-Jan-09 1:11 

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.