Solved

Displaying picture from Access Database at run time.

Posted on 1998-10-04
3
169 Views
Last Modified: 2010-08-05
How do I display the picture at run time when my
rs.Fields(N) contains a link to a BitMap Image?
   
0
Comment
Question by:DIMA
3 Comments
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1438107
If it is the Path to the file..
Just put

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

0
 

Author Comment

by:DIMA
ID: 1438108
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.

Thaks.
     
0
 

Accepted Solution

by:
mskannan earned 0 total points
ID: 1438109
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

regards,
mskannan.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now