"Imagelist must be initialized before it can be used" if you got this error message, your
imagelist is need to initialized first before declaring it for the certain used.for example if the
imagelist is used as a image container for a Listview control so before you declare it via this
code:
panoy.smallicon=1
with out initializing imagelist,you always got this error so to avoid this kind of error you need
to initialized first through this code
listview1.smallicons=imagelist1
so i think this will help for those beginners on vb6 programming
imagelist is need to initialized first before declaring it for the certain used.for example if the
imagelist is used as a image container for a Listview control so before you declare it via this
code:
panoy.smallicon=1
with out initializing imagelist,you always got this error so to avoid this kind of error you need
to initialized first through this code
listview1.smallicons=imagelist1
so i think this will help for those beginners on vb6 programming
Leave a comment