Brad Smith’s Coding Blog

Windows apps, business systems and games in C# and C++

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Projects
    • ABA/Cemtext Validator
    • Drop-Down Controls
    • Image Collage Generator
    • mcNetworkCopy
    • TOM Classes for .NET
  • Copyright
  • Expressions of Interest
  • Donations
  • GitHub

Tag Archives: Win32

Building a Better ExtractAssociatedIcon

Posted on July 28, 2010 by Bradley Smith | 16 Replies

Describes the shortcomings of the ExtractAssociatedIcon method in System.Drawing.Icon in situations where the user wants a small icon or the icon for a file type instead of an existing file. Proposes a solution using the Win32 functions SHGetFileInfo and ExtractIconEx (via PInvoke). Continue reading →

Share/Bookmark
Posted in Downloadable source code, GUI components, Utility code.
  • « Previous
  • 1
  • 2
  • 3
E-Mail YouTube Channel LinkedIn Profile Google+ Profile Facebook Profile

Donations

If you find my code/articles useful, please consider making a donation:

PayPal: bs@brad-smith.info

Recent Posts

  • A Novel Solution for Previewing PDFs in Desktop Applications
  • An Alternative to Large Byte Arrays and MemoryStream
  • Building a Better Tag Cloud
  • A Searchable Drop-Down Control
  • Single Instance Application with a Custom URI Scheme
  • DataGridView Column Types for Drop-Down Controls
  • Managed Wrapper for TOM 2 / RichEdit 8
  • Sorting Strings Using Natural Language Rules

Tag Cloud

abstract classes accounting AppDomain C# C/C++ collections COM console custom controls data binding encryption enumerators Excel extension methods file formats generics graphics GUI design inheritance interfaces Interop linked lists LINQ MCML media center memory networking Office parsing physics refactoring reflection regular expressions remoting RichEdit RTF serialisation sorting SQL streams WCF Win32 Windows Forms Windows Registry XML

Categories

  • Announcements (15)
  • Coding practices (1)
  • Computer Science (3)
  • Databases (2)
  • Downloadable source code (20)
  • GUI components (10)
  • MS Office Interop (2)
  • Republished articles (2)
  • SharePoint (1)
  • Standards (1)
  • Utility code (26)
  • Web development (1)
  • Windows Media Center (9)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2026 Brad Smith’s Coding Blog, all rights reserved.
Proudly powered by WordPress