Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ImageList and ListView
Message
 
To
09/03/2007 00:45:27
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01202180
Message ID:
01202190
Views:
18
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform