Changing the desktop theme for an individual app

Is there a way to change the desktop theme to windows classic from a web vb.net application?
Thanks.
dspaceAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

toddhdCommented:
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
toddhdCommented:
System.DateTime.Now.ToShortDateString
0
toddhdCommented:
Ooops, sorry about that - ignore the comment above - why the heck can't I delete a comment here???
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

dspaceAuthor Commented:
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
toddhdCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
toddhdCommented:
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
dspaceAuthor Commented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.