borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (closing forms)Next Topic (Preventinng CD Copy) New Topic New Poll Post Reply
AndreaVB Forum : VB General : XP SKIN Solved Topic
Poster Message
newbie_1020
Level: Master


Registered: 29-11-2005
Posts: 117

icon XP SKIN

help!!!does anybody know how to create a WIN XP skin?or perhaps give me a download point or an installer?coz my desktop sucks real hard...thanx

____________________________
united we stand,divided we stand alone...

30-11-2005 at 08:13 AM
View Profile Send Email to User Show All Posts | Quote Reply
GeoffS
Level: VB Lord


Registered: 29-09-2004
Posts: 536
icon Re: XP SKIN

Try this site :
http://skins.deviantart.com/

(acknowlegement to jorge1145 of this forum who pointed me here some 12 months ago - its a great site for skins!)


____________________________
multi-tasking - the ability to hang more than one app. at the same time.

30-11-2005 at 08:40 AM
View Profile Send Email to User Show All Posts | Quote Reply
newbie_1020
Level: Master


Registered: 29-11-2005
Posts: 117
icon Re: XP SKIN

gee thanks GEOFF!!!i'm browsin' the site as of now!     

____________________________
united we stand,divided we stand alone...

30-11-2005 at 09:35 AM
View Profile Send Email to User Show All Posts | Quote Reply
MaxMouse
Level: Protégé

Registered: 04-01-2006
Posts: 6
icon Re: XP SKIN

Since VB uses the old version of msctl and the xp styles are version 6, you need to make a slight change to your code.


Private Declare Sub InitCommonControls Lib "comctl32" ()

Private Sub Form_Initialize()

Call InitCommonControls

End Sub


Once that is in your code, you compile your executable and make a MANIFEST file in notepad, which is as follows.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    version="1.0.0.0"
    processorArchitecture="X86"
    name="CompanyName.ProductName.YourApplication"
    type="win32"
/>
<description>Your application description here.</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>

Consider your executable is called 123abc.exe you would put the manifest file you just created in the same directory as that and name if 123abc.exe.MANIFEST

Your executable will now display windows xp visual themes.

as a side note you can embed the manifest file directly into your executable with an application called resource hacker, basically (in resource hacker) you choose, Action>Add new resource>Select the text file>input values (from top down) 24,1,1033 the manifest will now sit inside the executable and show xp visual styles

Regards
Max

04-01-2006 at 02:13 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : XP SKIN Solved Topic
Previous Topic (closing forms)Next Topic (Preventinng CD Copy) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder