Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Getting icons of registered extensions

Getting icons of registered extensions

Scheduled Pinned Locked Moved Visual Basic
data-structuresquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kumar saurabh
    wrote on last edited by
    #1

    :confused: Hi all, I have a tree view where i show different files present in a system. I have to display icon of corresponding file type when i'm adding a file to the tree. One way to do it to add the icons in image list and the check for the extension and show corresponding icon. But in this case it's very much possible taht I leave many icons associated with file extensions. I want to know the registered icon of a corresponding file type at run time. How can I do that. Thanks in advance. Kumar Saurabh

    A 1 Reply Last reply
    0
    • K Kumar saurabh

      :confused: Hi all, I have a tree view where i show different files present in a system. I have to display icon of corresponding file type when i'm adding a file to the tree. One way to do it to add the icons in image list and the check for the extension and show corresponding icon. But in this case it's very much possible taht I leave many icons associated with file extensions. I want to know the registered icon of a corresponding file type at run time. How can I do that. Thanks in advance. Kumar Saurabh

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      How to use the SHGetFileInfo function to get the icons that are associated with files in Visual Basic .NET http://support.microsoft.com/default.aspx?scid=kb;en-us;319340

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups