View previous topic :: View next topic |
Author |
Message |
Pepsiguy I post too much
Reputation: 0
Joined: 16 Aug 2007 Posts: 2016
|
Posted: Sun Nov 18, 2007 10:22 am Post subject: IS there a way to make VB6 form "vista" styled wit |
|
|
i was wondering since someone made a tutorial for XP buttons i was wondering if theres one for vista but for the whole form
_________________
|
|
Back to top |
|
 |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Sun Nov 18, 2007 10:35 am Post subject: |
|
|
even i was wondering and google is our freind
|
|
Back to top |
|
 |
Pepsiguy I post too much
Reputation: 0
Joined: 16 Aug 2007 Posts: 2016
|
Posted: Sun Nov 18, 2007 10:36 am Post subject: |
|
|
I need a .exe.manifest file....
_________________
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Nov 18, 2007 12:37 pm Post subject: |
|
|
pepsiguy_2 wrote: | I need a .exe.manifest file.... |
The manifest files are just xml files. Open it in notepad, copy the code thats inside it for your exe, paste it into a new notepad and save it as <YourExe>.exe.manifest
You will need to edit the program information inside the manifest as well before using it.
_________________
- Retired. |
|
Back to top |
|
 |
killersamurai Expert Cheater
Reputation: 0
Joined: 10 Sep 2007 Posts: 197 Location: Colorado
|
Posted: Sun Nov 18, 2007 2:56 pm Post subject: |
|
|
When I want a win32 program to have an xp style theme, I just put this
Code: |
"type='Win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='X86' publicKeyToken='6595b64144ccf1df' language='*'"
| into Properties -> Linker -> Manifest File. Then insert it in additional manifest dependencies. Or you can add this in your main file.
Code: |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
Since vista uses the same .dll as xp (comctl32.dll), it should work. I don't have vista, so I can't test it.
Edit: Added a vb manifest to show how to do it. Just change project1 into the name of you program. Not only the file name, but the text in the file.
|
|
Back to top |
|
 |
|