Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API Function to get Type File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00664556
Message ID:
00856248
Vues:
21
George,

I just tried it in the command window and it works great! The syntax is oImage = CreateObject('Image')
oImage.Picture = 'fully qualified path and filename'

just in case anyone else is listening in on this.

Thanks, again, George!
Dana

>Actually, this is something you can do in VFP without the API. Just instatiate a picture/image object and add the fully qualified file name as the source. The object has height and width properties you can reference.
>
>Since I've just gotten a new machine (and haven't had time to install Fox yet), I hestiate to give you the exact code for fear of sending you in the wrong direction. While I know that with the image object this works with bmps and icos, but I only think it will work with jpgs as well. IOW, I'm not 100% percent sure working off the top of my head.< g >
Where's the damned Any Key?...too late
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform