how can i retrieve photo saved in a folder

you mean, display photo from folder?

Picture1.Picture = LoadPicture("F:\Pictures\Icon\CloseX.ico")

commented: working +1

yes
retrieve a photo from a folder and display it on the form

use picture box or image. then use that code to show it.

Picture1.Picture = LoadPicture("F:\Pictures\Icon\CloseX.ico")

Picture1.Picture = LoadPicture("F:\Pictures\Icon\CloseX.ico")

it is not working in the form load

wont it work in form load

and when i used in the click event

error object required

sorry, i know these r simple problems to u but are big to me

i used the picture box but error

thank u

i got it but working only in button click event