Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ListView - Urgent
Message
De
02/09/1999 16:39:31
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
02/09/1999 14:26:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00258157
Message ID:
00260843
Vues:
18
>Hi Elyse.
>
>>this.imlListView.Object.ListImages.Add(1, ,LOADPICTURE("MyPict.bmp"))
>>
>>The error is: OLE error code 0x800a01e1 unknown COM status code.
>
>Is MYPICT.BMP built into the APP/EXE? If so, that's the cause of the error: LOADPICTURE() has a bug (IMO) that causes an error if the file is in the APP, even if it also exists on disk. The solution is to either remove the BMP from the project or mark it as excluded, then ship this file with the application.
>
>In an upcoming FoxTalk article, I'm going to present a program that you can call instead of LOADPICTURE() to handle copying images out of a table and loading them.
>
>Doug

Thanks! Someone else pointed this out, I removed the BMP from the EXE and all is well!
Elyse Pomerantz
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform