473,387 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Resource DLLs

I'm in the middle of extending my Collapsible Panel
(http://www.codeproject.com/cs/miscct...lePanelBar.asp) control to
support XP Themes & Styles. So I need to paint it according to the bitmaps
that are stored in the current shellstyle.dll.

Using uxtheme.dll I can get the current theme and work out the path to the
current shellstyle.dll, but how can I extract the bitmaps from it? It's not
a .NET resource file (satellite dll) so I can't use ResourceManager or
ResourceReader. Any ideas?

Derek.
Jul 19 '05 #1
2 2122
Its VB6 but it may help:
http://www.vbaccelerator.com/home/VB...ol/article.asp
"Derek Lakin" <de*********@lineone.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm in the middle of extending my Collapsible Panel
(http://www.codeproject.com/cs/miscct...lePanelBar.asp) control to support XP Themes & Styles. So I need to paint it according to the bitmaps
that are stored in the current shellstyle.dll.

Using uxtheme.dll I can get the current theme and work out the path to the
current shellstyle.dll, but how can I extract the bitmaps from it? It's not a .NET resource file (satellite dll) so I can't use ResourceManager or
ResourceReader. Any ideas?

Derek.

Jul 19 '05 #2
Yeah, I read that already. That's how I worked out how to find the current
shellstyle.dll.
I just thought there would be a way to read bitmaps out of a dll that didn't
involve making direct calls to Win32 :/

Derek.

"Mick Doherty" <md*******@nospam.ntlworld.com> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
Its VB6 but it may help:
http://www.vbaccelerator.com/home/VB...ol/article.asp

"Derek Lakin" <de*********@lineone.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm in the middle of extending my Collapsible Panel
(http://www.codeproject.com/cs/miscct...lePanelBar.asp) control

to
support XP Themes & Styles. So I need to paint it according to the bitmaps that are stored in the current shellstyle.dll.

Using uxtheme.dll I can get the current theme and work out the path to the current shellstyle.dll, but how can I extract the bitmaps from it? It's

not
a .NET resource file (satellite dll) so I can't use ResourceManager or
ResourceReader. Any ideas?

Derek.


Jul 19 '05 #3

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

Similar topics

9
by: Dan Smith | last post by:
I frequently get a LNK1000 error when building a resource-only DLL. If I rebuild, the problem usually goes away. Thanks, Dan ------ Build started: Project: vaac_startupUIRes, Configuration:...
3
by: perspolis | last post by:
Hi all I have some resources for some languages. 1-To create diffrent resources,Do I have to use VC++ environment or Can I create them from C#? 2-How can I load different resources...
2
by: John Cullen | last post by:
I have uncovered an interesting problem with resource only DLLs. If I create a project with a long name and the name includes periods ("."), the IDE will fail to kick off the linker. The resource...
12
by: manoj | last post by:
Hi I have a unicode program for win2k and win98 in vc7(dotnet). It contains Dlls.Each Dll has string table resource,menu resource,dialog resource etc. It successfully run on win2k. When i run it...
0
by: Kaworu | last post by:
Hi, 1.- I'm having problems to use custom controls in the language DLLs, d you know why I can load the DLL but I can't load the dialogs? 2.- What I want is that users can translate the strings...
0
by: Maileen | last post by:
Hi, I use the localization feature of my VB.net application to create some ApplicationName.resource.dll files, but i would like to know if it does not exist a way to change the name of these...
0
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description...
1
by: va_acharya | last post by:
I have given multilingual support to my winform application, everthing is working fine, but when i compile my project it generates multiple resource dlls for all the languages. Is it possible to...
1
by: MrAsm | last post by:
Hi, what is the C# equivalent of language-specific resource DLLs of the MFC/C++ world? With C++/MFC it's possible to build GUIs localized for different languages, and then dynamically load the...
7
by: nws_reader | last post by:
I have a web service that needs to return a particular string for one of its web methods. I would like to manage the strings in a resource file. I went through a lot of the help provided on the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.