Solved

images to add to imageList control, vs 2012 c#

Posted on 2014-12-25
8
380 Views
Last Modified: 2014-12-25
Q1: Do I have to build images myself? If so, is there a place I can get these images for folders, word, excel, txt, etc? Some other applications (MS Access for example) has these images internally.

This is the instruction for adding images to this control: "Add an ImageList named imageList1 to the form and use the Properties window to add two images: a folder image and a document image, in that order."

Q2: What format and size these images ought to be built?
0
Comment
Question by:Mike Eghtebas
  • 4
  • 3
8 Comments
 
LVL 85

Assisted Solution

by:Mike Tomlinson
Mike Tomlinson earned 150 total points
ID: 40517953
The images can be up to 256x256:
http://msdn.microsoft.com/en-us/library/system.windows.forms.imagelist.imagesize(v=vs.110).aspx

    "The Size that defines the height and width, in pixels, of the images in the list. The default size is 16 by 16. The maximum size is 256 by 256."

Just do a search on Google for royalty free icons...
0
 
LVL 62

Accepted Solution

by:
Fernando Soto earned 350 total points
ID: 40517960
You can download the images that Microsoft uses at Visual Studio Image Library
0
 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 40517965
Hi Mike,

I liked your x-name Idle_mind and always appreciated your greate inputs.

I downloaded VS2012 Image Library.zip from http://msdn.microsoft.com/en-us/library/system.windows.forms.imagelist.imagesize(v=vs.110).aspx

BTW, this is not going to be used for commercial purpose.

How can I include these images in my vs2012?
--------------------------
Hi Fernando,

Thanks for the tip. I just did it now I need to know how to include the package in my vs 2012 permanently?

Thanks,

Mike
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 40517967
Hi Mike;

Well not sure who you are responding to seeming Idle_mind has not posted to this thread. If you downloaded the file you can unzip it and all the directories should be marked and images in them. That all depends on where you will be using them some controls you can import them from a file location or you can load them via the Image class or you can add them as resources to the resource image dialog..

To your question, "Thanks for the tip. I just did it now I need to know how to include the package in my vs 2012 permanently?", Just store them on the file system and load the images when you need them.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 40517969
Sorry Fernando, Mike Tomlinson's was known as idle_mind. When is submitted that post, he was the only expert in this thread. But later I saw your post and then edited my post.

I will try: add them as resources to the resource image dialog
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 40517971
OK, I did not make the connection, Thanks.
0
 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 40517974
Wow, 7,870 images still unpacking. Later I want to be able use the image collection such that it will use corresponding images based on the item is a folder, .xls, .doc, .txt, etc. But that will be handle in a later thread,
0
 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 40518003
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now