473,857 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Applying WinXP visual themes in Win2K app....

All-
This is a bit 'out there,' but, here goes. I have copied the WinSxS folder from a WinXP box to my Win2K box. I would like to be able to apply XP control styles to my Win2K VB.NET apps. Given what I have copied into my WinSXS folder, would I be able to use a combination of assembly manifests and isolated Win32 assemblies to do this? According to MSDN, comctl32.dll, Version 6, which is bundled with WinXP, is not redistributable . My thinking is that if you take care to copy the version 6 DLL from an XP box and include all its dependent DLLs (which I have done), all the components in question have, at least, the _potential_ to work on my Win2K box
Where may I find comprehensive documentation on isolating and using Win32 assemblies in a .NET executable
TIA

Matt Seltze
Senior Database Analys
NYU School of Medicine Child Study Cente
New York, N

P.S. Do I also need the services of the WinXP uxtheme.dll, or will comctl32.dll (Version 6) be sufficient for what I want to do

MPS
Jul 21 '05 #1
3 2126
You need uxtheme.dll as this is the theming engine in XP. I'll be VERY
surprised if you get this to work... Not the least because you cannot
redistribute any of the files needed...

If you want app skinning in W2K... I'd go the WindowsBlinds route, or not
bother...

"Matthew P. Seltzer" <an*******@disc ussions.microso ft.com> wrote in message
news:D4******** *************** ***********@mic rosoft.com...
All--
This is a bit 'out there,' but, here goes. I have copied the WinSxS folder from a WinXP box to my Win2K box. I would like to be able to apply
XP control styles to my Win2K VB.NET apps. Given what I have copied into my
WinSXS folder, would I be able to use a combination of assembly manifests
and isolated Win32 assemblies to do this? According to MSDN, comctl32.dll,
Version 6, which is bundled with WinXP, is not redistributable . My thinking
is that if you take care to copy the version 6 DLL from an XP box and
include all its dependent DLLs (which I have done), all the components in
question have, at least, the _potential_ to work on my Win2K box. Where may I find comprehensive documentation on isolating and using Win32 assemblies in a .NET executable? TIA,

Matt Seltzer
Senior Database Analyst
NYU School of Medicine Child Study Center
New York, NY

P.S. Do I also need the services of the WinXP uxtheme.dll, or will comctl32.dll (Version 6) be sufficient for what I want to do?
MPS

Jul 21 '05 #2
Hello, Lorne
This is how I think it _might_ be done. As I mentioned in my first post, I have obtained all the necessary WinXP (unmanaged) DLLs that I need + UXTHEME.DLL. I have also downloaded the Windows Installer SDK and the Orca tool which allows you to create custom .MSI files. There are certain tables that I will have to include in my custom .MSI file in order to register the WinXP DLLs as isolated assemblies. Once they are properly registered and isolated using the Windows Installer, I believe I should be able to include a .NET assembly manifest in the folder where _all_ the necessary unmanaged and managed assemblies will reside so that I can make use of what is inside comctl32.dll, version 6. (I am not sure if I will have to make explicit function calls to APIs exposed in UXTHEME.DLL.) But, for what it's worth, this is my plan. I am not trying to skin applications, but, rather, I just want to see if I can get the WinXP look-and-feel on Win2K for free

Best

Matt
Jul 21 '05 #3
By all means try it, but I very much doubt it will work. Also, as you
cannot redistrubute these DLL, it's fairly pointless exercise as you cannot
give/sell your application to anyone with those files in the installer...

BTW: Trying to give apps on W2K the XP "look & feel" IS skinning them...
uxtheme.dll in the skinning/themeing engine in XP.

But like I said, try it by all means.. I'd be interested to know if it
works, and very surprised :)

"Matthew P. Seltzer" <an*******@disc ussions.microso ft.com> wrote in message
news:45******** *************** ***********@mic rosoft.com...
Hello, Lorne,
This is how I think it _might_ be done. As I mentioned in my first post, I have obtained all the necessary WinXP (unmanaged) DLLs that I need +
UXTHEME.DLL. I have also downloaded the Windows Installer SDK and the Orca
tool which allows you to create custom .MSI files. There are certain tables
that I will have to include in my custom .MSI file in order to register the
WinXP DLLs as isolated assemblies. Once they are properly registered and
isolated using the Windows Installer, I believe I should be able to include
a .NET assembly manifest in the folder where _all_ the necessary unmanaged
and managed assemblies will reside so that I can make use of what is inside
comctl32.dll, version 6. (I am not sure if I will have to make explicit
function calls to APIs exposed in UXTHEME.DLL.) But, for what it's worth,
this is my plan. I am not trying to skin applications, but, rather, I just
want to see if I can get the WinXP look-and-feel on Win2K for free.
Best,

Matt

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1624
by: Dave | last post by:
I wrote a C# windows service and it will install on Win2K but won't start. I have code in it to write to the event log but it doesn't log anything. I developed it on WinXP with VS and it installs and runs fine on that WinXP system. The service is a C# remoting listener if that makes any difference. Does it have to be built on a Win2K box to work correctly? I don't have VS installed anywhere but that WinXP so I can't readily test
0
1086
by: Alexander Stojakovic | last post by:
Werte Kollegen! I have a ASP.NET page authenticating via Integrated Security. For some reason the behaviour on the client is differing depending on the OS. I have some clients using WinXP and some using Win2K, all of them having IE6 with the latest updates and all of them having 'User Authentication' set to 'Prompt for user name and password' on purpose. WinXP:
10
14382
by: Robert Jacobson | last post by:
Hi, I'm develing a COM add-in for Microsoft Word XP that displays a form. I'd like to have the form display using the Windows XP theme. However, neither using a manifest nor calling Application.EnableVisualStyles does the trick. (EnableVisualStyles works but massive instability, probably because the system is trying to theme the Word application itself.) I'm now trying to selectively enable the themes for just my form, or just...
4
1338
by: Slasher186 | last post by:
Hi all, First of all, I'm sorry if I posted at the wrong section here, but I can't seem to find the VB 6.0 newsgroup ? I'm developing my apps with VB 6.0 sp5 installed on win xp. I have create an exe file that runs fine on both winxp and win2k. However, when I try to execute that file on win 98 machine, there are errors. This error may vary between "EOF or BOF expected.." or "Error 13, Type mismatch". I've tried over and over again to do...
3
542
by: Matthew P. Seltzer | last post by:
All- This is a bit 'out there,' but, here goes. I have copied the WinSxS folder from a WinXP box to my Win2K box. I would like to be able to apply XP control styles to my Win2K VB.NET apps. Given what I have copied into my WinSXS folder, would I be able to use a combination of assembly manifests and isolated Win32 assemblies to do this? According to MSDN, comctl32.dll, Version 6, which is bundled with WinXP, is not redistributable. My...
1
1548
by: kfc1976 | last post by:
Hi All, First of all, following are the facts 1) I've been trying to solve the following issue for the past 8 hours (Not Kidding) 2) If I can't find the answer, It will drive me completely crazy Platform: XP Pro, .net 2.0 FrameWork, Visual Studio 2005 Problem Regarding:
1
1608
by: hazz | last post by:
I tried using the Visual Studio setup and deployment wizard to create an msi to install the .exe, config and .dll resource files from my winxp deve box onto a Windows 2003 server. I don't have access to that machine through vpn, I can't remote desktop. I have to send something to a colleague who has to do the installation. So far I have failed every attempt, either with the msi or by simply zipping up the bin directory files. Could...
1
1109
by: Ashok | last post by:
Hi I have some issues in applying Themes to controls programatically, when controls are inside WebpartZone. I have put some Webparts inside WebpartZone, i want to apply themes and skin to those programatically. When i am trying to set the SkinId for the controls in Page_PreInit( ... ) event , it's showing Null point reference.
9
4481
by: Guillaume Dargaud | last post by:
Hello all, I have a strange problem with a new install of Gallery2: Firefox does not display the style of the pages while IE does (but nobody I know uses IE). I'm not familiar with the way Gallery2 generates its pages but my config uses Apache (on Windows), php5, MySQL, etc... There are several themes available in Gallery2 but none display in FF. It's like the CSS is ignored. The pages I get in the browser contain the following CSS...
0
9923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9768
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10711
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9549
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7104
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5971
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4191
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.