Home arrow Visual Basic arrow Finding Default App Icons With Visual Basic

Finding Default App Icons With Visual Basic

Using the Windows API it's easy to find the default icon for any file extension. Phil shows us exactly how it's done in this comprehensive article.

Author Info:
By: Phil Couling
Rating: 5 stars5 stars5 stars5 stars5 stars / 42
December 27, 2002
  1. · Finding Default App Icons With Visual Basic
  2. · How It's All Done
  3. · The Registry
  4. · The Complete Code
  5. · Conclusion

print this article

Finding Default App Icons With Visual Basic
(Page 1 of 5 )

We are all familiar with the "explorer" style look and with the idea that it gives different icons to different file types. This is useful, because it lets us see at a glance what type of file we are looking at and it makes for a generally more user friendly environment.

But this also means that if we want to displays icons in our apps that represent files (like you would on a file sharing program or an FTP client) that we will need to get those same icons and display them in (for example) a picture box. In this article I hope to show you how to do this. I'll give you the complete code at the end to save you having to piece lots of bits of code together.

You should be proficient with Visual Basic to get the most out of this article. You should also be familiar with the Windows registry.
blog comments powered by Disqus

- Developing an XML Web Service Using Visual S...
- Creating an HTML File List with VB
- Fun with Email: VB6, CDO, MAPI, and a Remote...
- Extranet/Intranet Dictionary Cracker in VB
- Finding Default App Icons With Visual Basic
- Registry Fever With Visual Basic
- Implementing An ADO Data Control With VB6
- Printing With Visual Basic
- MSMQ Part 1/2: Architecture and Simple Imple...
- Magnifying The Desktop With Visual Basic
- Sending Email With MAPI Components in Visual...
- Two Person Chat With The Winsock Control And...
- A Real-Time ActiveX News Control
- Accessing the Windows API in Visual Basic

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials