PC Review


Reply
Thread Tools Rate Thread

Applying WinXP visual themes in Win2K app....

 
 
=?Utf-8?B?TWF0dGhldyBQLiBTZWx0emVy?=
Guest
Posts: n/a
 
      25th Feb 2004
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
 
Reply With Quote
 
 
 
 
Lorne Smith
Guest
Posts: n/a
 
      25th Feb 2004
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" <(E-Mail Removed)> wrote in message
news4F3F8C0-59A4-4ACC-BF47-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?TWF0dGhldyBQLiBTZWx0emVy?=
Guest
Posts: n/a
 
      25th Feb 2004
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
 
Reply With Quote
 
Lorne Smith
Guest
Posts: n/a
 
      26th Feb 2004
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" <(E-Mail Removed)> wrote in message
news:45BB9FC0-2D0D-4808-B352-(E-Mail Removed)...
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying Themes to Presentations Christine Microsoft Powerpoint 7 1st Jul 2009 01:57 PM
Applying themes to html Shimon Sim Microsoft ASP .NET 1 22nd Mar 2006 08:56 AM
FP2003 - Applying themes? Ron O'Brien Microsoft Frontpage 4 10th Nov 2005 04:28 PM
FP2003 - Applying themes? Ron O'Brien Microsoft Frontpage 1 9th Nov 2005 01:33 AM
applying themes =?Utf-8?B?U2Ft?= Microsoft Frontpage 3 5th Dec 2003 05:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 PM.