Solved

images to add to imageList control, vs 2012 c#

Posted on 2014-12-25
8
385 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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