PC Review


Reply
Thread Tools Rate Thread

Adding icons to a dll

 
 
TEK
Guest
Posts: n/a
 
      15th Feb 2007
Hello

I want to add several icons to my dll, so that it can be used by
windows to indicate icons for my known filetypes.
I'm using VS2005, but I cannot seem to find out how to do this.

I can get one single visible icon by setting the application icon, but
that does not do it. I need to set serveral icons.
(I'm testing the icon availability by going to a shortcut, selecting
properties, then Change icon and navigating to my application file)

Any ideas about how to do this?

 
Reply With Quote
 
 
 
 
j1mb0jay
Guest
Posts: n/a
 
      15th Feb 2007
TEK wrote:
> Hello
>
> I want to add several icons to my dll, so that it can be used by
> windows to indicate icons for my known filetypes.
> I'm using VS2005, but I cannot seem to find out how to do this.
>
> I can get one single visible icon by setting the application icon, but
> that does not do it. I need to set serveral icons.
> (I'm testing the icon availability by going to a shortcut, selecting
> properties, then Change icon and navigating to my application file)
>
> Any ideas about how to do this?


Add new item to the project, select properites for the new "icon" and then
set it to be an embedded resource. Works for all file types.
--
Regards JJ (UWA)

 
Reply With Quote
 
TEK
Guest
Posts: n/a
 
      19th Feb 2007
> Add new item to the project, select properites for the new "icon" and then
> set it to be an embedded resource. Works for all file types.
> --
> Regards JJ (UWA)


Jup, that would have been nice.
I appricate your answare, but you are telling me how to add a icon
resource and how to include it in my assembly.
That does'nt do fix it, as the icons, even if included in the
assembly, does not show up if you for example peforms the test
described here:
> I'm testing the icon availability by going to a shortcut, selecting properties, then Change icon and navigating to my application file


The icons is not available using your suggested method.

 
Reply With Quote
 
Thomas Due
Guest
Posts: n/a
 
      20th Feb 2007
TEK wrote:

>> I'm testing the icon availability by going to a shortcut, selecting properties, then Change icon and navigating to my application file

>
>The icons is not available using your suggested method.


Is that even possible with a managed assembly?

--
Thomas Due
Posted with XanaNews version 1.18.1.6

"To fight and conquer in all your battles is not supreme excellence;
supreme excellence consists in breaking the enemy's resistance without
fighting."
-- Sun-Tzu
 
Reply With Quote
 
TEK
Guest
Posts: n/a
 
      23rd Feb 2007
On Feb 20, 12:01 pm, "Thomas Due" <tdue@mail_remove_.dk> wrote:
> TEKwrote:
> >> I'm testing the icon availability by going to a shortcut, selecting properties, then Change icon and navigating to my application file

>
> >The icons is not available using your suggested method.

>
> Is that even possible with a managed assembly?


Yes it is, if you do it in C++ .Net it is possible, but it does not
seem to be possible in C#.
It seems like a very strange limitation!


> --
> Thomas Due

[Snip]

 
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
Adding New Icons =?Utf-8?B?cnY4MDUz?= Microsoft Outlook Discussion 0 31st Oct 2007 05:39 PM
adding more icons =?Utf-8?B?TWFuaQ==?= Windows XP General 2 22nd Feb 2007 05:10 PM
Adding icons to listbox =?Utf-8?B?TGVvbmFyZA==?= Microsoft Access VBA Modules 5 15th Mar 2005 05:15 AM
Re: Adding ICons to contextmenus! =?Utf-8?B?YmFsYWtyaXNobmFOVFI=?= Microsoft VB .NET 0 4th Jun 2004 08:21 PM
Adding Icons to XP BIshop4him Windows XP General 2 22nd Dec 2003 09:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:30 AM.