Solved

Still trying to load a 48x48x32 icon into a VB.NET Picturebox

Posted on 2011-02-22
4
568 Views
Last Modified: 2012-05-11
The collection of icons found in shell.dll in the System32 subdirectory are in a 48 x 48 pixel format.

If you tried loading one into a VB.NET Picturebox on a Form using the Property Sheet, the result looks like an under-nourished ant on the screen.

Does anyone know how to display one of these high res icons on a form?

Thanks.
0
Comment
Question by:gbmcneil
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
quizwedge earned 500 total points
ID: 34954386
An icon is never going to be high resolution, the way a jpeg picture would be, but I think the following may do what you want: http://stackoverflow.com/questions/914323/display-icon-on-form-in-vb-net
0
 
LVL 29

Expert Comment

by:nffvrxqgrcfqvvc
ID: 34954477
You want to draw the icon onto surface then you can draw it into the PictureBox any size you want... The default when you use the property sheet probrably automatically loads the icon using the default system small icon semantics for that operating system.
0
 

Author Comment

by:gbmcneil
ID: 34954752
You are correct quizwedge. I discovered this web page as well and it worked.

The only problem I am having right now is increasing the size of the icon image displayed, without sacreficing too much in the way of resoluton. I have brought this issue up as a separate question for The Experts.
0
 

Author Closing Comment

by:gbmcneil
ID: 34954757
Thanks agan.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generate Numbers in JQuery file 11 66
Error message when using PrintSocket.Send 7 18
JSON Deserialize issue 6 26
ASP.NET (VB) return a record 2 35
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

808 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