Loading Icons in VB

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?  
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

the link to the exact page is :=


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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.