Home All Groups Group Topic Archive Search About
Author
17 Feb 2006 7:50 AM
Maurice
Hi,

I'm having some GUI troubles. When the application is run on a Windows XP
environment my controls all look very nicely shaped. When the same
application is run on Windows Server 2003 environment these controls don't
look that nice anymore.

It is probably because of the SupportThemes property of the control. But
does anyone know a simple solution to set the GUI on each platform exectly
as in the Windows XP environment?

Thanx!

Maurice

Author
17 Feb 2006 10:05 AM
Carlos J. Quintero [VB MVP]
Hi Maurice,

Are themes enabled in the Windows 2003 server? See:

http://home.triad.rr.com/faq/WNS2003%20FAQ.htm#q8

See also:

Using Windows XP Visual Styles
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


Show quoteHide quote
"Maurice" <hmoviat@nospam.nospam> escribió en el mensaje
news:Xns976D59F3EF5FBmauricemertens@194.109.133.242...
> Hi,
>
> I'm having some GUI troubles. When the application is run on a Windows XP
> environment my controls all look very nicely shaped. When the same
> application is run on Windows Server 2003 environment these controls don't
> look that nice anymore.
>
> It is probably because of the SupportThemes property of the control. But
> does anyone know a simple solution to set the GUI on each platform exectly
> as in the Windows XP environment?
>
> Thanx!
>
> Maurice
Author
17 Feb 2006 2:34 PM
Herfried K. Wagner [MVP]
"Maurice" <hmoviat@nospam.nospam> schrieb:
> I'm having some GUI troubles. When the application is run on a Windows XP
> environment my controls all look very nicely shaped. When the same
> application is run on Windows Server 2003 environment these controls don't
> look that nice anymore.

I assume that the Visual Styles (Theming) service is not started on Windows
Server 2003 by default and thus visual styles are not used to render the
controls.

> It is probably because of the SupportThemes property of the control. But
> does anyone know a simple solution to set the GUI on each platform exectly
> as in the Windows XP environment?

No, only on systems with support Common Controls 6.0 or newer.  Common
Controls 6.0 is not redistributable.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>