Click here to Skip to main content
16,011,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Running one Instance of EXE Pin
pradipta22-May-03 20:09
pradipta22-May-03 20:09 
GeneralRe: Running one Instance of EXE Pin
GrindAZ22-May-03 6:05
GrindAZ22-May-03 6:05 
GeneralShort to Long fileName in VB6 and WinNT Pin
Alberto Bar-Noy22-May-03 2:12
Alberto Bar-Noy22-May-03 2:12 
QuestionHow do I set the “Comment” attribute of a file or folder using VB script ? Pin
Serge Krynine21-May-03 21:56
Serge Krynine21-May-03 21:56 
QuestionVb.net: how add an column (field) into a table in Access database? Pin
gline21-May-03 20:26
gline21-May-03 20:26 
GeneralCreating A Windows Service...HELP! Pin
GrindAZ21-May-03 7:23
GrindAZ21-May-03 7:23 
GeneralRe: Creating A Windows Service...HELP! Pin
John Kuhn21-May-03 12:39
John Kuhn21-May-03 12:39 
GeneralRe: Creating A Windows Service...HELP! Pin
Dave Kreskowiak22-May-03 4:40
mveDave Kreskowiak22-May-03 4:40 
OK. In general:

Windows Services run in their own Windows sessions. What does this mean? Well, when you login to Windows, you start your own session. Services do the same thing. They get their own Window Station, Desktop, Environment, and such. This means that the user interface your app is putting is showing up, but it's on a desktop that you can't see.

There is no way to view the session of a service! Services cannot interact with the user session directly (or easily.) But, it IS possible to write a service that interacts with the users desktop. Your going to have to supply the service with the logged on users security context, station handle, and desktop handle, at a minimum. Hint: Your going to have to write a seperate app that runs on the user side and communicates with the service via RPC to do this.

Information on how this works (and why) can be found in the Platform SDK documentation. Just search for "Window Stations" (no S on the end of Window) on MSDN for a good starting point.


RageInTheMachine9532
GeneralRe: Creating A Windows Service...HELP! Pin
GrindAZ22-May-03 5:57
GrindAZ22-May-03 5:57 
QuestionAbout pop AD??? Pin
mgj20-May-03 15:53
mgj20-May-03 15:53 
QuestionfdmakkHow can I use the vb ,make a add-in for VB? Pin
mgj20-May-03 15:46
mgj20-May-03 15:46 
QuestionHow to implement component class in vb Pin
TianYang20-May-03 15:27
TianYang20-May-03 15:27 
Generalvarible in shell Pin
bamnet20-May-03 11:16
bamnet20-May-03 11:16 
GeneralRe: varible in shell Pin
Ray Cassick20-May-03 12:10
Ray Cassick20-May-03 12:10 
GeneralRe: varible in shell Pin
Nick Seng20-May-03 15:57
Nick Seng20-May-03 15:57 
GeneralAbout custom-drawn linklabel controls Pin
Chopper20-May-03 5:02
Chopper20-May-03 5:02 
GeneralRe: About custom-drawn linklabel controls Pin
Ray Cassick20-May-03 6:15
Ray Cassick20-May-03 6:15 
GeneralRe: About custom-drawn linklabel controls Pin
Chopper20-May-03 22:38
Chopper20-May-03 22:38 
GeneralConversion from C# to VB.NET Pin
lasseran20-May-03 4:16
lasseran20-May-03 4:16 
GeneralRe: Conversion from C# to VB.NET Pin
The Limey21-May-03 22:22
The Limey21-May-03 22:22 
GeneralVB6 Currency conversion to .NET Pin
dazinith20-May-03 3:53
dazinith20-May-03 3:53 
GeneralRe: VB6 Currency conversion to .NET Pin
J. Dunlap20-May-03 7:55
J. Dunlap20-May-03 7:55 
GeneralRe: VB6 Currency conversion to .NET Pin
dazinith20-May-03 8:09
dazinith20-May-03 8:09 
GeneralLooking for Good, Concise C++ Tutorials Pin
Kevin McFarlane20-May-03 1:35
Kevin McFarlane20-May-03 1:35 
GeneralRe: Looking for Good, Concise C++ Tutorials Pin
Nick Seng20-May-03 15:50
Nick Seng20-May-03 15:50 

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.