Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
Private Sub Form_Current()
If Not Me.Plant_afbeelding & "" = "" Then
On Error Resume Next
Me.Afbeelding69.Picture = CurrentProject.Path & "\Plantimages\" & Me.Plant_afbeelding
Else
Me.Afbeelding69.Picture = ""
End If
End Sub
Function GetPicture() As String
'Code voor Late Binding
Dim vPic As Variant, tmp As Variant
Dim fd As Object
''Set fd = Application.FileDialog(4) 'Bladeren voor een MAP
Set fd = Application.FileDialog(3) 'Bladeren voor een FOTO
With fd
.AllowMultiSelect = False
.Title = "Kies een afbeelding..."
.Filters.Add "Images", "*.jpg; *.jpeg; *.png", 1
.Show
vPic = .SelectedItems(1)
End With
If vPic = False Then
GetPicture = ""
Else
tmp = Split(vPic, "\")
GetPicture = tmp(UBound(tmp))
End If
End Function
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.