Differntt Shells/Users Question



PJC
07-09-2005, 10:26 PM
Afternoon All!

Quick question about different shells for different users.

Currently, this functionality works fine for me except that when I exit
my custom shell, my system sists at a very nice light blue screen (a
default background I think). Cntrl-Alt-Del brings up the Task Manager
(this is OK). What I would like to happen, is if you exit the custome
shell application using Cntrl-F4, I would like the system to reboot.

My custom shell is actually an IE browser window.

Any thoughts?

Thanks!!

Gordon Smith \(eMVP\)
07-09-2005, 10:26 PM
PJC wrote:
> Afternoon All!
>
> Quick question about different shells for different users.
>
> Currently, this functionality works fine for me except that when I
> exit my custom shell, my system sists at a very nice light blue
> screen (a default background I think). Cntrl-Alt-Del brings up the
> Task Manager (this is OK). What I would like to happen, is if you
> exit the custome shell application using Cntrl-F4, I would like the
> system to reboot.
>
> My custom shell is actually an IE browser window.
>
> Any thoughts?
>
> Thanks!!

You could write your own shell (just an app) that hosts an IE browser window
that has the functionality of causing a shutdown (ExitWindowsEx) when the
application exits.


--
Gordon Smith (eMVP)
-- Avnet Applied Computing Solutions

KM
07-09-2005, 10:26 PM
>> Quick question about different shells for different users.
>>
>> Currently, this functionality works fine for me except that when I
>> exit my custom shell, my system sists at a very nice light blue
>> screen (a default background I think). Cntrl-Alt-Del brings up the
>> Task Manager (this is OK). What I would like to happen, is if you
>> exit the custome shell application using Cntrl-F4, I would like the
>> system to reboot.
>>
>> My custom shell is actually an IE browser window.
>>
>> Any thoughts?
>>
>> Thanks!!
>
> You could write your own shell (just an app) that hosts an IE browser window that has the functionality of causing a shutdown
> (ExitWindowsEx) when the application exits.

And even easier than WebBrowser/IE hosting. From the small shell app, just launch IE and wait on the process handle until it
signals. This way you know when use closes IE process and at this point you can do whatever you want to do - reboot, shutdown, etc.


--
KM,
BSquare Corp.
www.bsquare.com

PJC
07-09-2005, 10:26 PM
Cool suggestions! Thanks all!

Andy Allred [MS]
07-09-2005, 10:26 PM
Yeah, or you could try this article from Sean <grin>:
http://msdn.microsoft.com/library/en-us/dnxpesp1/html/tchDifferentShellsForDifferentUsers.asp

--
Andy

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

------------------
"PJC" <pjcarter1@yahoo.com> wrote in message
news:1118348280.064018.93980@g44g2000cwa.googlegroups.com...
>
> Cool suggestions! Thanks all!
>


Differntt Shells/Users Question