CodeDocu.com

 

 

How to display photos and pictures in Microsoft Access database?

 

To do this, you just have to insert an Access image control into the Access database and enter the path under Control content.

 

In vba at runtime

Private Sub BtnLoad_Click()

    ctlImg.Picture = tbxPhoto_Path

End Sub

 

Access: load photos

 

 

Manual:

You have to drag a photo control into the form or the report

Access: load photos

 

Now you just have to change the path of a photo with .jpg or .gif or .png or .bmp into the property

Apply control content.

This can either be entered manually or transmitted via vba.

ImageControl.Picture = string_Picture_with_Full_Path

 

Access: load photos


Software Entwicklung Stuttgart NĂ¼rtingen
Suche Projekte C#, WPF, Windows App,ASP.Net, vb.Net, WinForms, SQL Server, Access, Excel