DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Get File Icons

  1. #1
    Angelos Alexiou Guest

    Get File Icons


    Can you please tell me how can I get the default system icons for each type
    of file? I'm using VB6 with SP5.

  2. #2
    Ben Baird Guest

    Re: Get File Icons

    "Angelos Alexiou" <angelospg@cytanet.com.cy> wrote in message
    news:3d63aa23$1@10.1.10.29...
    >
    > Can you please tell me how can I get the default system icons for each

    type
    > of file? I'm using VB6 with SP5.
    >

    You can do this with the SHGetFileInfo API. The SHFILEINFO structure returns
    both an index of the icon in the system imagelist, and an hIcon handle, so
    you can deal with whichever method best meets your need.

    --
    Ben Baird
    Visual Basic Thunder
    http://www.vbthunder.com




  3. #3
    Karl E. Peterson Guest

    Re: Get File Icons

    Angelos Alexiou wrote:
    > Can you please tell me how can I get the default system icons for
    > each type of file? I'm using VB6 with SP5.


    See FileInfo.zip on http://www.mvps.org/vb/samples.htm
    --
    [Microsoft Basic: 1976-2001, RIP]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center