473,239 Members | 1,453 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,239 software developers and data experts.

Managed resources and icons

hi @all,

VS2008

I have my icons organized in this structure:

..\16x16\icon.png
..\24x24\icon.png

The same icons have the same name.

Now I have created to resource files:

16x16.resx and 24x24.resx

When trying to add the second icon, the IDE complains about an already
existing file.

What can I do here?

Furthermore, I wanted to place these resource files in its own
(solution) folder. But when doing so, I can't load/save images using the
property editor.

Any clue or link would be helpful. Thanks.

mfG
--stefan <--
Sep 17 '08 #1
1 1294
Stefan Hoffmann <st*************@explido.de>'s wild thoughts
were released on Wed, 17 Sep 2008 16:52:00 +0200 bearing the
following fruit:
>hi @all,

VS2008

I have my icons organized in this structure:

.\16x16\icon.png
.\24x24\icon.png

The same icons have the same name.

Now I have created to resource files:

16x16.resx and 24x24.resx

When trying to add the second icon, the IDE complains about an already
existing file.

What can I do here?

Furthermore, I wanted to place these resource files in its own
(solution) folder. But when doing so, I can't load/save images using the
property editor.

Any clue or link would be helpful. Thanks.
Why not give them unique names. This is how I name mine,
icon16.png and icon24.png

Plus it helps me identify what size they are which is useful
since it's not always obvious or possible to check.
--
Jan Hyde (VB MVP)

https://mvp.support.microsoft.com/profile/Jan.Hyde
Sep 19 '08 #2

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

Similar topics

4
by: J.Marsch | last post by:
Building a large app where we want to be able to ship updated icons like patches/assign different "skins", etc. So, I'm looking at storing sets of related icons in assemblies that will be loaded...
1
by: Sam Smith | last post by:
Dear All I would be really grateful if someone would help me. I have scoured the docs and the web for this I am writing a VC++ application, using .NET and Windows Forms. I am using Visual C++...
3
by: Bonj | last post by:
H When creating an SDK program using VC++.NET 2002, it seems that the icon with the lowest ID seems to be the icon that the executable file gains when it is shown in Windows Explorer. Furthermore,...
3
by: Peter Oliphant | last post by:
In the 2002 version of VS C++.NET if I wanted to create a new Managed C++ application I would got to "New Projects", then select "C++ Projects," then "Managed C++ Application". I recently...
2
by: Nak | last post by:
Hi there, I'm having a little confusion with embedding resources into my VB.NET app. In VB6 I could make a resource file that could hold icons, these icons could then be used for file...
0
by: Mythran | last post by:
I wrote some code that is supposed to enumerate through the specified file's win32 resources and return a string-array of all icon names. When it runs, it returns a string-array with a bunch of...
4
by: PromisedOyster | last post by:
There are various contradictory newsgroup postings on this issue, but I would really like a definitive answer from the .NET gurus out there? We have various WinForms that contain multiple Icons...
4
by: Mark | last post by:
Hi I notice that in some cases, to get an icon, an object (for example a list view) uses an image list, in others (e.g. a form) the image is selected from the project resources, i.e. a file. ...
8
by: Varangian | last post by:
Hello, was wondering of how to dispose of managed resources? or referencing every member of a class to null will release resources...? http://www.marcclifton.com/tabid/79/Default.aspx...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.