• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

Displaying picture from Access Database at run time.

How do I display the picture at run time when my
rs.Fields(N) contains a link to a BitMap Image?
1 Solution
If it is the Path to the file..
Just put

Picture1.picture = Loadpicture(rs.Fields(N))

DIMAAuthor Commented:
The field in recorset contains the object not the path to the bit
map image. Take the NorthWind Database and look in Employees, the field Photo does not contain Path. What is the short and efficient way of displaying the image at runtime.

Try this solution and it should solve your problem.

Create a OLE control(you have to choose from toolbox) and choose Bitmap image and link the Photo field in the Employee table of Northwind database(Use datacontrol for example)

Now run this one

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now