Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type of images
Message
De
02/10/2006 08:09:12
 
 
À
02/10/2006 07:27:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01158496
Message ID:
01158515
Vues:
32
My point is that with your code .. "images\"+alltrim(str(thisform.text1.value))+(".GIF") +(".jpg") .. you specify a file as .. .value))+(".GIF") +(".jpg") which will result in xxx.GIF.JPG where xx = ....value.

To solve your real problem, you must use adir() to get the complete name of the file, and then use that name.
But if I understand your problem correctly, I would rather use ...picture=getpict()

>Hi,
>
>thank you for reply, i don't know what you mean?
>
>i have folder inside my directory(IMAGES),i have images with names as
>1.jbg
>2.bmp
>3.gif
>4.
>5.
>.
>.
>.
>etc
>
>>Do you try to read the result of your expressions? A picture file will not be named yourfile.jpg.gif, will it?
>>
>>>Hi all,
>>>
>>>any idea to get all images via this code under
>>>i have images type
>>>as bmp , gif , jbg....etc
>>>
>>>
>>>Thisform.Image1.Picture = "images\"+alltrim(str(thisform.text1.value))+(".GIF") && it works
>>>
>>>
>>>Thisform.Image1.Picture = "images\"+alltrim(str(thisform.text1.value))+(".GIF") +(".jpg")&& or and +(".jpg")&& error
>>>
>>>
>>>thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform