[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Loading Icons in VB

Posted on 1999-12-15
3
Medium Priority
?
165 Views
Last Modified: 2010-05-02
I'm trying to load icons in a program that are the same as the icons that show up in the windows shell.  I can get the proper defualticon entry in the registry, but most of them are programs.  The only way i know to load an icon is wtih loadpicture, and it will not extract the icon from these programs.  Does anyone have a suggestion how i can do this?  
0
Comment
Question by:musaka
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Gordonp
ID: 2282839
visit <a href="http://www.vbaccelerator.com">vbaccelarator.com</a> they have an application ( with source code ) that allows you to view and extract the icons held in an executable, dll or icon file.

Gordon
0
 
LVL 3

Expert Comment

by:Gordonp
ID: 2282846
the link to the exact page is :=

http://www.vbaccelerator.com/codelib/gfx/iconex.htm

Gordon
0
 
LVL 3

Accepted Solution

by:
shyamkumarreddy earned 140 total points
ID: 2309382
HI musaka,


Their is standard way of loading images in Visual Basic.  

Load all the images into a resource files.  Use loadrespicture to load the images into the programs and use it.

This is the solid and best method to see the images not been cropped  or disturbed.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

607 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