VB Coders - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: VB Coders (/showthread.php?tid=28744)
VB Coders by matty on 07-16-2004 at 03:54 AM
Found a neat little trick in VB. Obviously VB coders know that when setting up the GUI it doesn't skin the controls unless you are in Run Time, well I found a way to skin them in Design Time as well.
Create a manifest file for VB6.exe in the (C:\Program Files\Microsoft Visual Studio\VB98, thats usually where its stored)
Close VB and reopen it, as long as you have the XP Interface your controls will be skinned
This also works for VB5 (just change the filename of the manifest file from VB6.exe.manifest to VB5.exe.manifest)
The attached zip file has the manifest file inside incase you are not aware on how to create it yourself.
Please dont reply saying this is old or that you knew it already, I just found this today so.
RE: VB Coders by Mnjul on 07-16-2004 at 05:25 AM
Well, I knew it already But I have to address this as a known problem:
If you apply XP Visual Styles to VB6 runtime, the color selector (the palette you use for some properties such as ForeColor) becomes blank and you hardly know what color your cursor is above.
RE: VB Coders by Mike on 07-16-2004 at 06:04 AM
Yeah and there is also another bug...
Create a frame box and put an option button in it.
It will become black.
To simply fix this problem, add a picturebox in it with BorderStyle None.
Then add the controls on the picbox.
|