Dynamik Skin aktivation

Share your advanced PureBasic knowledge/code with the community.
Konne
Enthusiast
Enthusiast
Posts: 434
Joined: Thu May 12, 2005 9:15 pm

Dynamik Skin aktivation

Post by Konne »

If u want to make it an option for the User of your aplication to use the XP Skin in your Aplication, compile your program without the Skinning Mode. Then Create a File with the Following Name (same directory).
"Name of your Aplication".exe.manifest

Copy this code in the file:

Code: Select all

<xml> 
<assembly> 
<assemblyIdentity> 

<description>XP-Look by 3DWIN / WinBETA</description> 

<dependency> 
<dependentAssembly> 
<assemblyIdentity> 

</dependentAssembly> 
</dependency> 
</assembly> 


Last edited by Konne on Tue Jul 11, 2006 7:25 pm, edited 2 times in total.
Apart from that Mrs Lincoln, how was the show?
Poshu
Enthusiast
Enthusiast
Posts: 459
Joined: Tue Jan 25, 2005 7:01 pm
Location: Canada

Post by Poshu »

Interesting. Thx for the tips.
Konne
Enthusiast
Enthusiast
Posts: 434
Joined: Thu May 12, 2005 9:15 pm

Post by Konne »

Hmm the BoardSoftware seems to have problems with the XML.
Here it is as a Link to a file: http://www.tutorials.de/forum/attachmen ... nifest.txt
Apart from that Mrs Lincoln, how was the show?
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

That one looks better! I couldn't figure out how the first one worked at all! :D

Thanks.
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

you can use the xp.res in #PB_Compiler_Home + "Compilers\"
you can also format this file for better looking :wink:
(the file has a hidden flag)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply