>aoa
>thank
>But it is difficlt for me to understand your code because i have no such idea, you are saying. please help me step by step with detail.
>Where i put your code in report write or in my form.
>thank
I thought it was clear enough, anyway using graphic files that comes with VFP :
1) In command window execute these :
Create Cursor dummy (filename c(20))
ADir(aGifs,_samples+'data\graphics\*.gif')
Append From array aGifs
2) Create a report say named EmpPics.frx
3) Add a Picture/Activex control and size it enough to show picture
4) It'd prompt for a filename. Enter :
(_samples+'data\graphics\'+trim(filename))
5) Ctrl+W to save the report
6) In command window execute :
Report form EmpPics preview
Cetin