Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

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: ,
Posted: Tuesday, November 25, 2008 3:00 AM by saraford

Comments

miguel said:

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

\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\

Anyway, keep up with this excelent blog

# November 25, 2008 6:21 AM

Carlos said:

Awesome! I had no idea of this!

# November 25, 2008 8:26 AM

Eber Irigoyen said:

I did not know that... I wish I would've known this a LOOONG time ago

# November 25, 2008 9:36 AM

saraford said:

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

# November 25, 2008 12:23 PM

Dave said:

Never knew! Thanks!

KeepMyMarbles.com

# November 25, 2008 2:01 PM

KevinYang said:

英文原文:

Didyouknow…VisualStudiocomeswithanimagelibraryforyoutouseinyourapplications?...

# November 25, 2008 8:59 PM

Roger Martin said:

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

# November 25, 2008 10:39 PM

saraford said:

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

# November 26, 2008 12:12 PM

Catto said:

Hey Now Sara,

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

Thx 4 the info,

Catto

# November 29, 2008 10:33 AM

Roger Martin said:

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

# December 2, 2008 6:58 PM

Jericho said:

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 :)

# December 17, 2008 2:47 PM

Mitch Milam's Microsoft Discussions said:

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

# February 24, 2009 4:35 PM

xjb said:

# April 9, 2009 9:28 PM
New Comments to this post are disabled
Page view tracker