Did you know… Visual Studio comes with an image library for you to use in your applications? – #364


Starting in Visual Studio 2005, you’ll find the Visual Studio Image Library, a zip file that contains over a 1000 images to create applications that have a consistent UI look and feel to Windows, Office, and Visual Studio.

During the Visual Studio setup, the VS2008ImageLibrary.zip file is installed at \Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\

Visual Studio Image Library

In addition, there’s a set of folders which contain “cut sheets” or basic elements in various sizes that can be used to construct new images using any image editor that utilizes “layers”, such as Paint.NET, Photoshop or Paintshop Pro.  (please don’t ask me about these “cut sheets”, as I’m just relying the message.)

There’s a restriction on the use of the images or common elements that they must be used consistently with the definitions that are found in the readme in each folder. For example, the Visual Studio Class icon must always be used to depict the programming construct of class, and not to represent an unrelated command like “Build Project.”

Technorati Tags: VS2005Tip,VS2008Tip

Comments (13)

  1. miguel says:

    My path has a 9.0 tag, instead of simply 9.

    Program FilesMicrosoft Visual Studio 9.0Common7VS2008ImageLibrary

    Anyway, keep up with this excelent blog

  2. Carlos says:

    Awesome! I had no idea of this!

  3. I did not know that… I wish I would’ve known this a LOOONG time ago

  4. saraford says:

    @miguel my bad. old habits die hard. i’ve fixed the filepath to reflect "9.0" instead of "9"

  5. Dave says:

    Never knew! Thanks!

    KeepMyMarbles.com

  6. KevinYang says:

    英文原文:

    Didyouknow…VisualStudiocomeswithanimagelibraryforyoutouseinyourapplications?…

  7. Roger Martin says:

    For some reason I don’t have a VS2008ImageLibrary directory at Program FilesMicrosoft Visual Studio 9.0Common7. I searched my C drive for VS2008ImageLibrary.zip and it is not there. I have VS 2008 Pro. Bummer!

  8. saraford says:

    @roger: try searching on the Visual Studio install CDs. The file has to be on that disk.

  9. Catto says:

    Hey Now Sara,

    That is really nice to know. Your posts have been great the past few months.

    Thx 4 the info,

    Catto

  10. Roger Martin says:

    I finally found it! It wasn’t on the install disc (must be compressed in a cab file or something). Turns out it is installed only when you choose "Tools for Redistributing Applications – Graphics Library" from setup. Once I did that it appeared in the Common7 folder.

    Roger

  11. Jericho says:

    Thanks … but how can I cast bitmaps into icons?

    jus like ..

    this.Button.Image = (System.Drawing.Bitmap)(resources.GetObject("whatever"));

    what to do for this.Icon …

    Icon class does not have a static method like Image class does … I know this is not the right place to ask, but I possess all of those three virtues of a programmer ; lazyness, lazyness and lazyness 🙂

  12. I just love accidentally finding valuable information. While looking for something totally different

Skip to main content