Windows XP Button!

Unknown

New member
Joined
Apr 24, 2003
Messages
2
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
 
If you give your application a manifest file, Windows XP will theme all the controls on it properly.
 
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!
 
Check out this link.

Attached is a zip containing the file I use - its 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: Heres the contents of the txt file:
Code:
<?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>
 

Attachments

Back
Top