|
-
Nov 12th, 2001, 10:22 PM
#1
Thread Starter
Member
Windows XP look
Well, I have Windows XP, and the look of my VB applications suck. How can I give them the same appearance as Windows XP programs? Is it possible?
-
Nov 12th, 2001, 10:37 PM
#2
Frenzied Member
nope....ur talking about making then rounded? nope....you have to just make a image insted of a button
-
Nov 12th, 2001, 10:49 PM
#3
PowerPoster
You could always use ActiveSkin with an XP skin.
...unfortunately, it costs money. *cough*
*cough* Mor *cough* pheus *cough* search *cough* download.com *cough*
-
Nov 13th, 2001, 10:19 AM
#4
Thread Starter
Member
Hey! This is amazing!!!!
Try it...
Let's imagine your program is called "test.exe", then make a file called "test.exe.manifest" in the same folder containing the following:
<?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="My program"
type="win32"
/>
<description>My program is very cool</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
-
Nov 13th, 2001, 10:28 AM
#5
Frenzied Member
vm360 -
Do I need WinXP installed?
What is this "manifest" thingy?
-
Nov 13th, 2001, 10:31 AM
#6
Thread Starter
Member
Yes, you need Windows XP, you won't notice any changes under Win9x, NT or 2000.
I don't know what is this manifest stuff... I just found it somewhere and discovered that it works
-
Nov 13th, 2001, 10:33 AM
#7
Frenzied Member
Hmmmm......Thanks for the explanation. 
What works?
Does it change the appearance of your program to an XP look?
-
Nov 13th, 2001, 10:37 AM
#8
Thread Starter
Member
Exactly. And it works with any program.
-
Nov 13th, 2001, 10:57 AM
#9
Frenzied Member
Cool...
One last thing, where did you find this info?
-
Nov 13th, 2001, 11:11 AM
#10
Lively Member
I belive there was some XP look alike code for Visual Basic at :
www.planetsourcecode.com
Search XP under VB Code
FRAIL_KNIGHT
IF Something <> "" Then
There's Something there... 
------------------------------------------
GWBASIC, QBASIC, QuickBASIC, VB5/6, A little DJGPP C++, and I hate it.
------------------------------------------
The pic u see is the logo of my favorite Christian Punk Band...Officer Negative!!!
www.OfficerNegative.com
-
Nov 13th, 2001, 12:14 PM
#11
-
Nov 13th, 2001, 05:06 PM
#12
Frenzied Member
ya that sound cool i would like to c that 2
-
Nov 13th, 2001, 05:20 PM
#13
Fanatic Member
-
Nov 13th, 2001, 08:42 PM
#14
Thread Starter
Member
take a look...
test1.gif is without the .manifest file, and
test2.gif is that file's effect :-)
-
Nov 13th, 2001, 08:47 PM
#15
Fanatic Member
-
Nov 13th, 2001, 08:48 PM
#16
Frenzied Member
vm360 -
Where did you find out this info on the manifest file?
-
Nov 13th, 2001, 08:50 PM
#17
Thread Starter
Member
I saw it in another forum, why?
-
Nov 13th, 2001, 08:55 PM
#18
Frenzied Member
Because I would like to understand it more. Maybe there are setting's within the file that I can change and tweak for my program. Basically, I would like to have a better understanding so I know how to use it with my programs.
-
Nov 13th, 2001, 08:57 PM
#19
Thread Starter
Member
yeah, me too, but I just found the file
-
Nov 13th, 2001, 09:09 PM
#20
Frenzied Member
Here's a few links that I have found. I wish I had a better understanding of the "manifest" file. In time....I guess. 
http://msdn.microsoft.com/library/de.../xptheming.asp
http://www.macadamian.com/column/
-
Nov 13th, 2001, 09:17 PM
#21
Thread Starter
Member
Thanks. If you find something else (especially about VB6 and this manifest stuff), please let me know.
-
Nov 13th, 2001, 09:23 PM
#22
So Unbanned
There's an article at allapi about this.
-
Nov 13th, 2001, 09:42 PM
#23
Frenzied Member
Originally posted by DiGiTaIErRoR
There's an article at allapi about this.
Thanks for the tip...
Here's the link if anyone is interested:
http://www.allapi.net/vbtutor/xpthemes.php
-
Nov 13th, 2001, 09:42 PM
#24
PowerPoster
Originally posted by vm360
Hey! This is amazing!!!!
Try it...
Let's imagine your program is called "test.exe", then make a file called "test.exe.manifest" in the same folder containing the following:
<?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="My program"
type="win32"
/>
<description>My program is very cool</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
I tried it and it just does not do anything when I doubleclick on the exe file. The exe file runs fine when I delete this XML file
-
Nov 13th, 2001, 09:45 PM
#25
-
Nov 13th, 2001, 10:40 PM
#26
Addicted Member
I have tried this but it's not working 
I have VB Enterprise 6.0 and Windows ME.
Please advise
Thanks
Ideas are dime a dozen.
People who put them into action are priceless.
-
Nov 13th, 2001, 10:41 PM
#27
PowerPoster
Originally posted by rmoghal
I have tried this but it's not working 
I have VB Enterprise 6.0 and Windows ME.
Please advise
Thanks
It will only work on Windows XP.
-
Nov 13th, 2001, 10:57 PM
#28
Member
Originally posted by vm360
take a look...
test1.gif is without the .manifest file, and
test2.gif is that file's effect :-)
That's pretty freakin' cool.
-
Nov 13th, 2001, 11:04 PM
#29
Frenzied Member
Very interesting, .........
[bookmarks this thread for future referance]
~Peter

-
Nov 14th, 2001, 12:03 AM
#30
Frenzied Member
-
Nov 14th, 2001, 12:11 AM
#31
Frenzied Member
do you think this would work if some1 had win98 and they had the dll?
-
Nov 14th, 2001, 08:29 AM
#32
PowerPoster
I am not sure but there might be some additional APIs that Windows XP uses in this verion of Common Controls.
-
Nov 14th, 2001, 06:06 PM
#33
PowerPoster
Originally posted by Motoxpro
do you think this would work if some1 had win98 and they had the dll?
Good question. Did you check the MS Knowledge Base or MSDN Library?
-
Nov 14th, 2001, 06:16 PM
#34
Frenzied Member
From AllApi.net:
"This manifest tells Windows XP to use the new version of COMCTL32.DLL"
Give it a try, see if it works in Win98. Try installing this newer version (version 6) of COMCTL32.DLL.
Report back here (if you can) if it worked or not...
-
Nov 14th, 2001, 07:14 PM
#35
I went to : http://www.allapi.net/vbtutor/xpthemes.php and I do not see any difference in the screenshot ??? What that do ?
-
Nov 14th, 2001, 07:17 PM
#36
Fanatic Member
hey guys for some cool XP themes in a very easy to use method check out my post http://www.vbforums.com/showthread.p...hreadid=119350
-
Nov 14th, 2001, 07:18 PM
#37
PowerPoster
Do you see any difference?
the XP style:

the old style:
Last edited by abdul; Nov 14th, 2001 at 07:22 PM.
Baaaaaaaaah
-
Nov 14th, 2001, 07:22 PM
#38
-
Nov 14th, 2001, 07:29 PM
#39
PowerPoster
-
Nov 14th, 2001, 07:31 PM
#40
wow it's cool i need to test it!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|