i have a problem linking access with vb by using Ado the photo from access isnt displaying in vb,also i inserted time in visual basic and set to display at certain time but i think i used the wrong codes
plse help me

the photo is stored in the database as an OLE object?

dont do that. Its bad. What you should do is have the pictures in a folder and store the path to it in a text field, then have VB read the path and display the image

Thanx for your reply but how do ido it as i have tried but failed help me plse

save the full path of image file on database. when you load image, vb will get the path from database and show the image from the current path.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.