Google Answers Logo
View Question
 
Q: Tabpage and XP manifest/style bug ( No Answer,   2 Comments )
Question  
Subject: Tabpage and XP manifest/style bug
Category: Computers > Programming
Asked by: bodekaer-ga
List Price: $10.00
Posted: 31 Oct 2002 01:24 PST
Expires: 04 Nov 2002 01:00 PST
Question ID: 94004
Hi all,

I have spent the last two days looking for a solution, which makes the
Tabpage of an Tabcontrol in VB.NET paint properly with the XP
style/manifest.

The best I've found is this: 
http://www.codeproject.com/cs/miscctrl/themedtabpage.asp

Which seems to be a solution, but it is in C#, which I don't know how
to use.

I would need a solution in VB.NET, perhaps you know how to use the C#
example above in VB.NET?

Thanks

Michael
Answer  
There is no answer at this time.

Comments  
Subject: Re: Tabpage and XP manifest/style bug
From: kb1ife-ga on 01 Nov 2002 15:40 PST
 
Facists at Google won't let me answer.  Guess I'm not a researcher or
something.  Anyway, it's simple.  See:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_XPThemeSupport.asp

Here's an example file:  Name this myfile.exe.manifest, place it in
the directory where the VB exe file lives, and run it.

<?xml version="1.0" encoding="UTF-8" ?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
	<assemblyIdentity version="1.0.0.0" processorArchitecture="X86"
name="SomeName" type="win32"/>
	<description>Project 31 MindShare</description>
	<dependency>
		<dependentAssembly>
			<assemblyIdentity type="win32"
name="Microsoft.Windows.Common-Controls" version="6.0.0.0"
processorArchitecture="X86" publicKeyToken="6595b64144ccf1df"
language="*"/>
		</dependentAssembly>
	</dependency>
</assembly>
Subject: Re: Tabpage and XP manifest/style bug
From: bodekaer-ga on 02 Nov 2002 02:35 PST
 
I think you missed the point... did you even look at the link I gave
you?

Well, I know how to use the manifest files, the problem is that the
manifest files DO NOT change the appearance of the Tabpage, the
tabcontrol although is fine.

Try to press "Ctrl+alt+del" in windows XP, and you will see what I
mean. The tabs are using the gradients, but the content background is
just gray.

/Michael

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy