Click here to Skip to main content
15,911,896 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: ERROR: InvalidProgramException Pin
Dave Kreskowiak18-Jan-07 4:39
mveDave Kreskowiak18-Jan-07 4:39 
GeneralRe: ERROR: InvalidProgramException Pin
Aaron VanWieren18-Jan-07 4:56
Aaron VanWieren18-Jan-07 4:56 
QuestionBindingSource with Combo - how to clear the combo intiailly Pin
Umair Ahmad17-Jan-07 2:50
Umair Ahmad17-Jan-07 2:50 
QuestionMMC Debuging Problem. Pin
PSK_16-Jan-07 22:57
PSK_16-Jan-07 22:57 
QuestionWrinting VB code in a Window Service Pin
tonymathewt16-Jan-07 20:28
professionaltonymathewt16-Jan-07 20:28 
AnswerRe: Wrinting VB code in a Window Service Pin
Guffa17-Jan-07 20:20
Guffa17-Jan-07 20:20 
QuestionRe: Wrinting VB code in a Window Service [modified] Pin
tonymathewt17-Jan-07 22:52
professionaltonymathewt17-Jan-07 22:52 
AnswerRe: Wrinting VB code in a Window Service Pin
Dave Kreskowiak18-Jan-07 4:32
mveDave Kreskowiak18-Jan-07 4:32 
tonymathewt wrote:
Local system, then it should work irrespective of user account


No, it doesn't. Services run under their own Desktop, not the one the user sees and interacts with. The only way you can get an interface to show up is to go into the Services manager, get the Properties on your service, go to the LogOn tab, make sure it's using the Local System account, then check the box that says something like "Allow service to interact with desktop".

But, like the other poster said, Services are not supposed to have a user interface, so don't expect to just start throwing forms all over your service and watch them work. Services do not get their own message pump like a normal application does. This is something that is required to make forms and events work properly in VB.


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Wrinting VB code in a Window Service Pin
tonymathewt18-Jan-07 15:56
professionaltonymathewt18-Jan-07 15:56 
GeneralRe: Wrinting VB code in a Window Service Pin
Dave Kreskowiak18-Jan-07 17:22
mveDave Kreskowiak18-Jan-07 17:22 
GeneralRe: Wrinting VB code in a Window Service Pin
tonymathewt19-Jan-07 0:25
professionaltonymathewt19-Jan-07 0:25 
GeneralRe: Wrinting VB code in a Window Service Pin
Dave Kreskowiak19-Jan-07 2:14
mveDave Kreskowiak19-Jan-07 2:14 
QuestionRe: Wrinting VB code in a Window Service Pin
tonymathewt19-Jan-07 16:23
professionaltonymathewt19-Jan-07 16:23 
AnswerRe: Wrinting VB code in a Window Service Pin
Dave Kreskowiak20-Jan-07 3:52
mveDave Kreskowiak20-Jan-07 3:52 
QuestionRe: Wrinting VB code in a Window Service Pin
tonymathewt21-Jan-07 20:51
professionaltonymathewt21-Jan-07 20:51 
AnswerRe: Wrinting VB code in a Window Service Pin
Dave Kreskowiak22-Jan-07 1:47
mveDave Kreskowiak22-Jan-07 1:47 
GeneralRe: Wrinting VB code in a Window Service Pin
tonymathewt24-Jan-07 1:00
professionaltonymathewt24-Jan-07 1:00 
AnswerRe: Wrinting VB code in a Window Service Pin
Guffa18-Jan-07 6:27
Guffa18-Jan-07 6:27 
QuestionRe: Wrinting VB code in a Window Service [modified] Pin
tonymathewt18-Jan-07 15:52
professionaltonymathewt18-Jan-07 15:52 
AnswerRe: Wrinting VB code in a Window Service Pin
Guffa19-Jan-07 5:37
Guffa19-Jan-07 5:37 
Questionsn is not working properly Pin
indian14316-Jan-07 20:20
indian14316-Jan-07 20:20 
AnswerRe: sn is not working properly Pin
ednrgc18-Jan-07 2:42
ednrgc18-Jan-07 2:42 
QuestionDisplaying help in property grid control Pin
Allad16-Jan-07 13:00
Allad16-Jan-07 13:00 
AnswerRe: Displaying help in property grid control Pin
Phillip M. Hoff16-Jan-07 17:38
Phillip M. Hoff16-Jan-07 17:38 
GeneralRe: Displaying help in property grid control Pin
Allad16-Jan-07 19:03
Allad16-Jan-07 19:03 

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.