>Hi Guys,
>
>Im adding icons to my Imagelist control dynamically. I have certain icons that causes errors when added to the ImageList control.
>
>*ThisForm.oleImageList1.ListImages.Add(,'Module3',LoadPicture('c:\Icon1.ico'))
>
>
>The error is: OLE error code 0x800a01e1:Unknown COM status code.
>
>
>What might be the cause of this error?
>
>
>Thanks in advance....
Try
ThisForm.oleImageList1.Object.ListImages.Add(,'Module3',LoadPicture('c:\Icon1.ico'))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.