Search Tools Links Login

Using Windows Xp Themes In Your Programs

Posted: 2002-06-01
By: ArchiveBot
Viewed: 68

Filed Under:

Visual Basic 6

No attachments for this post


If your running Windows Xp and would like your programs to use the slick new buttons and other controls that xp does just copy this text in notepad and save it as "VB6.EXE.MANIFEST" and put it in the same directory as VB6.EXE and then you have to do one more thing to make the new controls stick when you make an EXE. First in the general declarations section put. Private Declare Function InitCommonControls Lib "comctl32.dll" () As Long
Then in the Form Initilize Event put.
InitCommonControls
Then for the final step copy this into notepad and save it as YourProjectsName.EXE.MANIFEST and include it in the same directory as your programs .EXE file. Copy the text that follows.



Enter your Description Here


type="win32"
name="Microsoft.Windows.Common-Controls" version="6.0.0.0"
language="*"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
/>



Remember to do the last to steps for each form in your program.
Please leve any comments you may have.

Original Author: Cypher Software Solutions

Code

If your running Windows Xp and would like your programs to use the slick new buttons and other controls that xp does just copy this text in notepad and save it as "VB6.EXE.MANIFEST" and put it in the same directory as VB6.EXE and then you have to do one more thing to make the new controls stick when you make an EXE. First in the general declarations section put. Private Declare Function InitCommonControls Lib "comctl32.dll" () As Long
Then in the Form Initilize Event put.
InitCommonControls
Then for the final step copy this into notepad and save it as YourProjectsName.EXE.MANIFEST and include it in the same directory as your programs .EXE file. Copy the text that follows.



Enter your Description Here


type="win32"
name="Microsoft.Windows.Common-Controls" version="6.0.0.0"
language="*"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
/>



Remember to do the last to steps for each form in your program.
Please leve any comments you may have.


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.