Want to know the logic to store more images in a folder

I have been automated the images in a web capture and store in a folder.

It works for one image. Path: (“Y:\images\image.png”)

but issue when storing more images. please suggest the logic for this

I use the below logic for path store the images

“Y:\images\image"CStr(val)”.png"

Hi Mallikharjun,

Just modify your path like this.

“Y:\images\image" +CStr(val)+ ”.png"

Regards,
Nitesh