Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Imagelist - add images at run time


Dim KeyText As String
KeyText = "IconName"   'use this name in code to reference the icon
ImageList1.ListImages.Add , KeyText, LoadPicture( "myicon.ico" )