load image dynamically

L

lasylvia

hello,

I try the code in a html, i've found on this forum, but it doesn't
work. Have you got a idea?

Function Item_Open()
Set objInsp = Item.GetInspector
Set objPage = objInsp.ModifiedFormPages("Message")
Item.BillingInformation="C:\temp\login3.jpg"
Set imgPicture = objPage.Controls("imgPicture")
If Item.BillingInformation <> "" Then
imgPicture.Picture = LoadPicture(Item.BillingInformation)
End If
End Functio
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top