Visual Style not appears

G

Guest

I have a simple application which uses a manifest to enable XP styles. It
works on one system without problems but on a second system the application
runs but not style appears. The only differnce is, that system two uses WinXP
SP2. I get not other information, no debug-, log- or any else.
Any Ideas?

Thanks
 
C

Carlos J. Quintero [.NET MVP]

In order to get XP style you need:

1) Add a manifest to your app (or call to a .NET Framework 1.1 function to
avoid the manifest)
2) To change the FlatStyle property of the controls to "System"
3) To have enabled an XP theme in Windows XP. Is this the case in the second
machine?

--

Carlos J. Quintero

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

Guest

Where can I enable XP theme? (I found no hint inside the help system,
security center or local security rules...)
 
C

Carlos J. Quintero [.NET MVP]

Desktop properties, Themes tab, Theme combobox. Depending on the theme that
you choose, XP style will be enabled (Windows XP theme) or not (Classic
Windows theme).

Apart from that I can not think about other factors causing the failure,
specially if the app works fine on other machine...

--

Carlos J. Quintero

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top