Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ImageList
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00065533
Message ID:
00065596
Vues:
33
It's a Foxpro Bug (Suprise)
The image cannot be contained in the executable ie the project - remove it frm the project and access with load image via relative pathing - the image you refer to may not be in the project - Wala - No more invalid file descriptor crap.

I had this same problem and worked it through with Tech Support


Jon

>I have a form with an ImageList that I want to add images to programatically. In the form's activate method I have this code:
>
>THISFORM.oleMyImageList.ListImages.Add(, "MyIconKey", LOADPICTURE("MyIcon.ico"))
>
>I get an 'Illegal file descriptor' error. What am I doing wrong? I was referring to Andy MacNeill's article in FPA's Jan '97 issue for help. Any ideas?
>
>TIA
JJ-
One man gathers what another man spills.......
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform