Click to See Complete Forum and Search --> : Creating an Imagelist


January 20th, 2000, 04:22 PM
I wish to dynamically create an array of Imagelists controls in my code, but the following codes results in
error '429' can't create ActiveX object.

How do I create an instance of an imagelist in code?

Thank you for your help

--Ben Finkel
benfinkel@hotmail.com
set imlDisplay(x) = createObject("MSComCtlLib.ImageList")

Chris Eastwood
January 21st, 2000, 02:46 AM
http://www.vbaccelerator.com that shows how to create an imagelist using winApi methods - in fact, I think they've already got it all packaged up in a nice ActiveX DLL for you.


Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb