Re: Restarting GUI without logging off

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

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
>



Relevant Pages

  • Re: Restarting GUI without logging off
    ... Windows XP Shell/User ... That's why i'm asking if someone knows the command for rebooting the GUI. ... > settings in the register without rebooting or logging off. ...
    (microsoft.public.windowsxp.general)
  • Possible bug in Exchange GUI (Exchange System Manager.msc)
    ... I’m writing this because I think I found one small bug in Exchange GUI. ... Connection settings for SMTP server. ... Manager.msc on first server and iis.msc on second server. ... First I used script to target settings for SmtpSvc/1 ...
    (microsoft.public.exchange.admin)
  • Re: Custom form not saving when fields changed programatically
    ... No settings are involved. ... Author of Microsoft Outlook 2007 Programming: ... if I dirty the subject field manually through the GUI ...
    (microsoft.public.outlook.program_forms)
  • broadcast adress assignement in GUI
    ... settings in the "Network settings" GUI: ... Now suppose their is a windows server on 10.10.159.14. ... However if I set through the GUI these settings, my broadcast ...
    (Ubuntu)
  • MVC and java design
    ... Take the GUI as reference, and make calls to the getTextof the ... JTextField to get the filename. ... Use a central Settings class with all User settings recorded ...
    (comp.lang.java.gui)