views:

1289

answers:

7

Unfortunately Microsoft Office icons etc are copyright by Microsoft and they prevent us from using them in Developed applications with their licence terms.

I'm trying to find some alternative Microsoft Office icons who's licence allows for both commercial use in developed applications. One of the important things is that anyone looking at them can instantly recognise what they represent (e.g. Excel).

Does anyone know of any and have links to them?

A: 

Visual studio comes with an image library containing a lot of icons that are in a similar style to Office. These are for use in any application. I am unsure of the exact copyright on them so you might want to google it.

You can find the image library zip at:

C:\program files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033

Burt
I think Ian is talking about icons that represent Office product logos, i.e. Word icon, Excel icon, etc.
Romain Verdier
I believe these are just the standard icons for toolbars etc. What I'm looking for is actual application like icons.
Ian
+4  A: 

Don't look exactly like the office icons of course, if they did they would be the copyrighted office icons and not an alternative, but I personally like the Silk Icon set. It's free and contains many nice looking and useful icons.

It's a preview of all the icons as well there.

As for icons representing excel documents, etc, you could for example use the page_white_excel icon. Think there should be some more general spreadsheet icons there too, but can't find it now...

Svish
Not bad, but unfortunately they're all quite small and PNGs so not suitable for my use. But +1 for the suggestion.
Ian
posted another answer with a different set which have bigger icons. If you want the icons in a different format, you can always convert them to something else. Nice thing with PNG is that it is lossless, so they are nice to use as a base.
Svish
+1  A: 

You can have a look at Deviant Art :

Office icons

But it's likely that what is proposed there is already breaking Microsoft license though.

Romain Verdier
sadly almost all of them are for non-commercial use
Anders Rune Jensen
+1  A: 

I'm guessing you mean file icons, not the applications. As long as office is installed you can use code to load the icons at runtime e.g. GetFileIcon("doc", SHGFI_ICONSIZE_LARGE)

    const uint SHGFI_ICON = 0x100;
    const uint SHGFI_USEFILEATTRIBUTES = 0x10; // Use file extension not name
    const uint SHGFI_ICONSIZE_SMALL = 1;
    const uint SHGFI_ICONSIZE_LARGE = 0;
    const uint FILE_ATTRIBUTE_NORMAL = 0;
    const uint FILE_ATTRIBUTE_DIRECTORY = 16;

    [StructLayout(LayoutKind.Sequential)]
    struct SHFILEINFO
    {
        public IntPtr hIcon;
        public IntPtr iIcon;
        public uint dwAttributes;
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
        public string szDisplayName;
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 80)]
        public string szTypeName;
    }

    [DllImport("shell32.dll")]
    private static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags);

    static System.Drawing.Icon GetFileIcon(string extension, uint size)
    {
        IntPtr hImgResult;    //the handle to the system image list
        SHFILEINFO shinfo = new SHFILEINFO();

        if (string.Compare(extension,"folder",true)==0)
        {
            hImgResult = SHGetFileInfo("", FILE_ATTRIBUTE_DIRECTORY, ref shinfo,
                                       (uint)Marshal.SizeOf(shinfo),
                                        SHGFI_ICON | size);
        }
        else
        {
            hImgResult = SHGetFileInfo(extension, FILE_ATTRIBUTE_NORMAL, ref shinfo,
                                       (uint)Marshal.SizeOf(shinfo),
                                        SHGFI_ICON | SHGFI_USEFILEATTRIBUTES | size);
        }
        return System.Drawing.Icon.FromHandle(shinfo.hIcon);
    }
SillyMonkey
I'm not sure that is actually allowed?"Microsoft product icons are the thumbnail-size images indicating that a Microsoft product has been installed on your operating system. Use of Microsoft icons is permissible in training manuals or documentation written for and/or about a Microsoft product.""Microsoft does not allow the use of its icons in advertising, in ... in software applications, ... Icons are not to be used as "artwork" or design elements"I know you're not redistributing them, but I don't think it fits with the licence still.
Ian
Just about every application with an folder or file browser type view does (and is expected to do) this.
SillyMonkey
However controls such as the FileDialog are actually Microsoft controls... though it does make you wonder where the line is drawn.
Ian
i was referring more to, for example, the main window in nero etc. as far as i know there's no way to populate a listview with the proper icons without using something similar to the above.
SillyMonkey
+1  A: 

How about the Tango Icon Library then? Also looks nice and have a wide variety of icons. They are also in png (which I believe is the best really...) but also in svg. And the pngs are in 16x16, 22x22 and 32x32 sizes.

Svish
A: 

I am a fan of dry icons.

http://dryicons.com/free-icons/preview/classy-icons-set/

here is the free use license

http://dryicons.com/terms/#free-license

alt text

Nick
After more comments, this is probably not what he wants. The MS Office icons may be hard to find legally although IANAL...
Nick
A: 

Unfortunately I've been unable to find anything that is similar to the Office icons, while being safe enough to not infinge Microsoft Copyright. There were some very good ones on DevianArt, however they looked like they'd almost been ripped off from the MS ones so we decided not to use them.

Should any come up I'll update this answer :)

Ian