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
 
S

Sue Mosher [MVP-Outlook]

What specifically doesn't work? Have you tried stepping through the code in
the script debugger? Did you publish the form?
 
L

lasylvia

hi,

Thank you, for replies,
but i understand my mistake!!
it's work if u have Exchange Server
 

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