Re: Restarting GUI without logging off

From: Bart (Bart_at_discussions.microsoft.com)
Date: 12/13/04


Date: Mon, 13 Dec 2004 05:35:02 -0800

Hi,

Thx for the tip,

But ending the explorer.exe and starting it back, i had already tried
without result.

The second solution i can't try because I need the command for putting it in
a vbs file.

In the .vbs, i want to set the captionbar from -375 to -270 (windows classic
size) and then let's activate the settings by rebooting the GUI and then
start the program with a smaller titlebar.

Why i'm doing this: i need to run an expensive program from a windows2000 on
windows XP pc. This program gives frame errors if the size is not like -270.
That's why i'm asking if someone knows the command for rebooting the GUI.

I think it's something with the rundll32.exe (dll file), I already put a
filemonitor and a regmonitor on it. Without any results.

Hoping for more solutions :)

"Ramesh [MVP]" wrote:

> Bart,
>
> End all instances of Explorer.exe from Task Manager, and then start a new explorer.exe task.
>
> -or-
>
> Right-click Desktop, choose Properties, Appearance Tab.
> Click Advanced button, choose Icon from the drop-down list and set it's size to 31 and press OK.
> Close the dialog
> Repeat the above steps and set the Icon size to 32 (defaults)
>
> --
> Ramesh, Microsoft MVP
> Windows XP Shell/User
> http://windowsxp.mvps.org
>
>
> "Bart" <Bart@discussions.microsoft.com> wrote in message news:FF9376EE-1704-46A9-B198-1CAAEBA7C581@microsoft.com...
> Hi,
>
> I need to change a setting of my GUI so that the tittlebar is a less smaller.
>
> [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
> "CaptionHeight"="-270"
>
> Does anyone know how to switch off the GUI and restart it with the new
> settings in the register without rebooting or logging off.
>
> This is the same as you switch for example from "windows xp style" to
> "windows classic style",XP isn't logging off for doing that.(Try it yourself)
>
> Start->Configuration->Display->Appearance->Then change to classic view and
> click Apply.
>
> You will see that you get a sort of login logoff to activate these settings.
>
> Any help is welcome.
>
> Regards,
>
> Bart
>


Loading