Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 05-10-2006, 07:00 PM   #1 (permalink)
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
How do I get XP style controls in MSDev?

I'm writing applications using MSDev 2005 and I can't help but notice that all my applications have the Win2000 style controls instead of the funny XP ones.

Why is this? How can I get it to use the new style controls?
Thank you...
KnifeMissile is offline  
Old 05-11-2006, 03:20 AM   #2 (permalink)
Pure Chewing Satisfaction
 
Moskie's Avatar
 
Location: can i use bbcode [i]here[/i]?
Might be a stupid question, but:

are you running Windows XP? Or Windows 2000?
__________________
Greetings and salutations.
Moskie is offline  
Old 05-11-2006, 01:50 PM   #3 (permalink)
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
I'm running Windows XP in XP UI mode...
KnifeMissile is offline  
Old 05-13-2006, 01:04 PM   #4 (permalink)
Junkie
 
Location: San Francisco
I think you have to use something called a "manifest file".. sorry, I don't know much more than that as I've never used one, but I think its just a text file with some kind of description that needs to be in your project for it to use the new controls..
__________________
"Prohibition will work great injury to the cause of temperance. It is a species of intemperance within itself, for it goes beyond the bounds of reason in that it attempts to control a man's appetite by legislation, and makes a crime out of things that are not crimes. A Prohibition law strikes a blow at the very principles upon which our government was founded." --Abraham Lincoln
n0nsensical is offline  
Old 05-15-2006, 11:35 PM   #5 (permalink)
 
KnifeMissile's Avatar
 
Location: Waterloo, Ontario
Yeah, thanks. Luckily, I figured this out and, yes, you do need a manifest file. It needs an entry that looks like this:
Code:
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*" />
What's more, according to the Microsoft documentation, this actually needs to be all in one line. This makes no sense since any XML parser should parse it regardless of how you organize the syntax elements so one can only conclude that they're not actually using a real XML parser...
KnifeMissile is offline  
 

Tags
controls, msdev, style


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:30 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73