Hi Michel,
>I'm wondering if anyone has done that before. I would like to detect the width and height of a GIF file from Visual FoxPro.
Depends on what you need. If you need pixels, the image control is probably better suited. For twips you can use LOADPICTURE():
oPicture = LoadPicture(GetFile("gif"))
? oPicture.Width
? oPicture.Height
Christof
--
Christof