Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Changing the desktop theme for an individual app

Posted on 2004-10-26
7
Medium Priority
?
280 Views
Last Modified: 2010-04-24
Is there a way to change the desktop theme to windows classic from a web vb.net application?
Thanks.
0
Comment
Question by:dspace
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 8

Expert Comment

by:toddhd
ID: 12414116
Can you explain what you are trying to do a little more?

Usually, I see this question the other way around - as in, "How do I give my apps the XP theme look?"

Typically, unless you design your app to look like XP (or choose a particlar borderstyle), your app and controls will take on the "System default" look.

I'll tell you how to make your apps look like XP, and you can see if maybe these processes are in place - just remove them.

One way to do it is to add a manifest file to your project. Rather than type it all here, I'll just point to a page showing it:
http://visualbasic.about.com/library/weekly/aa070703a.htm

The other way is to Add Application.EnableVisualStyles() to the application:
http://www.gotdotnet.com/Community/MessageBoard/Thread.aspx?id=272284&Page=1#272284

See if either of these are in place, maybe that's what's giving you the XP look.
0
 
LVL 8

Expert Comment

by:toddhd
ID: 12414188
System.DateTime.Now.ToShortDateString
0
 
LVL 8

Expert Comment

by:toddhd
ID: 12414209
Ooops, sorry about that - ignore the comment above - why the heck can't I delete a comment here???
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dspace
ID: 12414299
My problem is that I designed my web page on an xp machine that was in windows classic mode and everything looks great.  I have found that if someone browses to that page on a machine running xp theme, all of the input  fields now have borders and the text size has changed.

I was hoping that i could programatically change some object windows.theme = "classic"  (something like that) so that everyone would have the same look.
0
 
LVL 8

Accepted Solution

by:
toddhd earned 1500 total points
ID: 12414403
Sorry, I misread your question - I missed that it was a web app, not a Windows App.

Not 100% on this, but I noticed that IE6 displayed things differently than IE5 did. That's just the way MS designed it. I'm not sure if there is a simple "display it like IE5" switch anywhere, but I don't think there is. What you would need to do is code your own CSS to make things look the way you want them too. You should already be aware that different browsers are going to interpret your pages differently even with the CSS spelled out.

I'll keep looking to see if there a simple way to do handle this...
0
 
LVL 8

Expert Comment

by:toddhd
ID: 12414474
Hard to say exactly what looks different without seeing it, but I'm assuming it might be related to this problem:
http://htmlfixit.com/tutes/tutorial_Internet_Explorer_Broken_Box_Model_Hack_and_Other_Alternatives.php
0
 

Author Comment

by:dspace
ID: 12414589
Thanks for all your help.  It doesn't appear to be a browser issue since I am using the same browser (IE6 same version) on both PCs.  The only difference is that one PC is themed windows classic and the "bad" PC is themed windows xp.

For now I'll just move on to other issues and re-visit this later.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question