CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11
  1. #1
    Join Date
    Oct 2006
    Posts
    25

    How to Use Theme in VB 6 Project

    Hi Every one,

    Is there any way to use theme in vb 6 project

    Please I really need that.........

    Thanks

  2. #2
    Join Date
    Nov 2004
    Location
    LA. California Raiders #1 AKA: Gangsta Yoda™
    Posts
    616

    Re: How to Use Theme in VB 6 Project

    Do you mean XP Themes? If so then you need to create a manifest file and API code to link the common controls 6.0 library to the themes.

    Search the forums as you wil find examples of each.
    VB/Office Guru™ (AKA: Gangsta Yoda™)
    VB Forums - Super Moderator 2001-Present

    Microsoft MVP 2006-2011

    Please use [code]your code goes in here[/code] tags when posting code.

    Senior Software Engineer MCP, BSEE, CET
    VS 2012 Premium, VS 6.0 Enterprise SP6, VSTO, Office Ultimate 2010, Windows 7 Ultimate
    Star Wars Gangsta Rap SE Reputations & Rating Posts Office Primary Interop AssembliesAdvanced VB/Office Guru™ Word SpellChecker™.NETAdvanced VB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address ListVB6/Crystal Report Ex.VB6/CR Print Setup Dialog Ex.

  3. #3
    Join Date
    Oct 2006
    Posts
    25

    Re: How to Use Theme in VB 6 Project

    no buddy i don't mean xp themes because they dont work with other operating system.

    I mean if we have a ready made theme can we use that in our project .......

  4. #4
    Join Date
    Nov 2004
    Location
    LA. California Raiders #1 AKA: Gangsta Yoda™
    Posts
    616

    Re: How to Use Theme in VB 6 Project

    Well then you are meaning something different then an XP theme so what would it be? Can you tell us more about it?
    VB/Office Guru™ (AKA: Gangsta Yoda™)
    VB Forums - Super Moderator 2001-Present

    Microsoft MVP 2006-2011

    Please use [code]your code goes in here[/code] tags when posting code.

    Senior Software Engineer MCP, BSEE, CET
    VS 2012 Premium, VS 6.0 Enterprise SP6, VSTO, Office Ultimate 2010, Windows 7 Ultimate
    Star Wars Gangsta Rap SE Reputations & Rating Posts Office Primary Interop AssembliesAdvanced VB/Office Guru™ Word SpellChecker™.NETAdvanced VB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address ListVB6/Crystal Report Ex.VB6/CR Print Setup Dialog Ex.

  5. #5
    Join Date
    Oct 2006
    Posts
    65

    Re: How to Use Theme in VB 6 Project

    check the control on http://icxr.com/acmenuex.html

    Umar

  6. #6
    Join Date
    Oct 2006
    Posts
    25

    Re: How to Use Theme in VB 6 Project

    Hi buddy thanks for your all replay ..

    but what i mean to say is that i wants to make my project looks like windows vista theme and also that it should work on all system......

    so is there any way that i can use the ready made theme...........

    and can we use any other trick to make project looks acctractive and some thing different..........

    thanks................
    Last edited by nkmomin; November 17th, 2006 at 01:37 AM.

  7. #7
    Join Date
    Nov 2004
    Location
    LA. California Raiders #1 AKA: Gangsta Yoda™
    Posts
    616

    Re: How to Use Theme in VB 6 Project

    If its something that will display the same on all OS' then its not really a theme but your style of drawing of your app. There isnt a ready made universal theme for duplicating Vista AFAIK. You will have to manually draw and duplicate the look you want on your forms. Then perhaps prevent them from taking on other themes.
    VB/Office Guru™ (AKA: Gangsta Yoda™)
    VB Forums - Super Moderator 2001-Present

    Microsoft MVP 2006-2011

    Please use [code]your code goes in here[/code] tags when posting code.

    Senior Software Engineer MCP, BSEE, CET
    VS 2012 Premium, VS 6.0 Enterprise SP6, VSTO, Office Ultimate 2010, Windows 7 Ultimate
    Star Wars Gangsta Rap SE Reputations & Rating Posts Office Primary Interop AssembliesAdvanced VB/Office Guru™ Word SpellChecker™.NETAdvanced VB/Office Guru™ Word SpellChecker™ VB6Outlook Global Address ListVB6/Crystal Report Ex.VB6/CR Print Setup Dialog Ex.

  8. #8
    Join Date
    Sep 2006
    Posts
    635

    Re: How to Use Theme in VB 6 Project

    nkmomin :

    you can use skin component,
    overview on google search engine about it.

    I think, there're some tool to develop as you want to do it.
    though too many use license.

    EDITED:an example is ACTSKIN4.OCX
    Last edited by hensa22; November 21st, 2006 at 12:07 AM.

  9. #9
    Join Date
    Oct 2006
    Posts
    25

    Re: How to Use Theme in VB 6 Project

    thanks hensa22,

    i have downloaded that ocx

    But dear can you also explained how to use this ocx as i am new with this please.

    Thanks and waiting for your repaly.

  10. #10
    Join Date
    Sep 2006
    Posts
    635

    Re: How to Use Theme in VB 6 Project

    tell you, it's component work on some vb controls.
    Code:
    Skin1.LoadSkin PathResource 'where PathResource  is Path of skn file
    Skin1.ApplySkin Me.hWnd

  11. #11
    Join Date
    Oct 2006
    Posts
    25

    Re: How to Use Theme in VB 6 Project

    thanks dear but please don't mind but one more question,

    it shows message box at every time running the project that it trial version is there any solution for that.....

    Thanks for Your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured