Go Back   Gaming Gutter > Non-Gaming > Programming > Tutorials


Tutorials - Looking for programming tutorials to increase your knowledge? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Transfering Money to...
08-10-2008 06:03 PM
by Saint
Last post by Saint
Today 03:13 PM
7 Replies, 8 Views
Go to first new post Fair trade? (maple and...
Today 03:12 PM
by Lanbo
Last post by Lanbo
Today 03:12 PM
0 Replies, 1 Views
Go to first new post Google Chrome
Today 03:10 PM
by Saint
Last post by Connor
Today 03:11 PM
1 Replies, 2 Views
Go to first new post Photoshop Creative...
09-01-2008 08:47 AM
by Connor
Last post by Connor
Today 03:10 PM
2 Replies, 3 Views
Go to first new post [S]{Legit} Main acc w/...
Yesterday 07:47 PM
Last post by newbladers
Today 03:09 PM
19 Replies, 20 Views
Reply
 
LinkBack Thread Tools Display Modes

 Making your VB6 program have a Windows XP style.
Old 10-06-2007, 07:49 AM   #1 (permalink)
|G3| |G3| is online now Gender Undisclosed

 
|G3|'s Avatar
 
|G3| is online now
Join Date: Feb 2007
Posts: 3,209
iTrader: 7 / 100%
|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity|G3| Total Celebrity
Rep Power: 17
Making your VB6 program have a Windows XP style.

Firstly you need to download this dll: http://www.dll-files.com/dllindex/dl...shtml?comctl32

Place this in your program's folder.

Now we have to make a new file. Create a new .txt file in your program's folder. Inside this file put this:
Code:
<?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.YourAppName" 
        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>
And name the file like this: Your-program's-name.exe.manifest
So if you program was named: Program1.exe
The file would be named: Program1.exe.manifest

Now you have to edit your program.
Put this in:
Code:
Private Declare Function InitCommonControlsEx Lib "comctl32.dll" _
   (iccex As tagInitCommonControlsEx) As Boolean
   
Private Type tagInitCommonControlsEx
   lngSize As Long
   lngICC As Long
End Type

Private Const ICC_USEREX_CLASSES = &H200
And this
Code:
Private Sub Form_Load()
        InitCommonControlsVB
End Sub

Public Function InitCommonControlsVB() As Boolean
   On Error Resume Next
   Dim iccex As tagInitCommonControlsEx
   ' Ensure CC available:
   With iccex
       .lngSize = LenB(iccex)
       .lngICC = ICC_USEREX_CLASSES
   End With
   InitCommonControlsEx iccex
   InitCommonControlsVB = (Err.Number = 0)
   On Error GoTo 0
End Function
And now you are finished. Your program should have a Windows XP style.

Any problems? Just ask!
Helped? +rep please!

Have Fun!
__________________
Surf-g3.com | Glype.co.uk| Proxyg3.com
GAIA FLP GENERATOR: http://gen.gaiaflps.com/index.php


Thanks Hatz ;3
Quote:
int main(){int u=8|8^2,e=8+16/2;for(u=u*5+5;e<8*4-4*4+2;e++){if(e==u-(e*((6-2*(1*2))*1))-((4+2*4)*(3)/((21/3-4)*3))) u=(u-(e+2*(8/4)));putchar(u+e);}cin.get();return 0;}
Quote:
Originally Posted by Li-Shun
Well, we aren't talking about it, but we're thinking about how you're the coolest mech and it's impossible to get a frickin action figure of you.
Sold out everywhere! D<
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 03:14 PM.


vBulletin skin developed by: eXtremepixels
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.09095407 seconds (100.00% PHP - 0% MySQL) with 19 queries