Unknown Posted April 28, 2003 Posted April 28, 2003 Can anyone tell me how to make a Windows XP Style button on Visual Basic.net or on Visual Basic 6? Thanks a lot.:D Quote
*Gurus* divil Posted April 28, 2003 *Gurus* Posted April 28, 2003 If you give your application a manifest file, Windows XP will theme all the controls on it properly. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Unknown Posted April 28, 2003 Author Posted April 28, 2003 Can you please tell me how to do that and where to get that manifest file as I do not have an extensive knowledge on Visual Basic.net? Thanks a lot! Quote
*Experts* Nerseus Posted April 28, 2003 *Experts* Posted April 28, 2003 Check out this link. Attached is a zip containing the file I use - it's generic enough to use on ANY .NET executable. For development, make sure this file is in the same directory as your EXE file and named the same as your exe but with a manifest extension. So if your exe is named "WinTest.EXE" name the manifest file "WinTest.EXE.manifest". -Nerseus PS: Here's the contents of the txt file: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <description></description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly> yourapp.exe.zip Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.