ol2021 custom form not displaying pics

john doe

Senior Member
Outlook version
Older version
Email Account
POP3
no jive...
Screenshot (408).png
 

john doe

Senior Member
Outlook version
Older version
Email Account
POP3
what's the difference between a script and a macro? the pics seem to not load because of something wrong in a script...

i'm still getting alarming emails from goog - do i need to do something? - thought the upgrade to ol2021 would be enough.
 

john doe

Senior Member
Outlook version
Older version
Email Account
POP3
ok, now i'm back at ol2007 via a backup (as i found out i might get around g prob via an app password). but i guess ol2021 had modified the script - now ol2007 doesn't work either. further the script does not seem editable on it. how to edit it, diane?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
ok, now i'm back at ol2007 via a backup (as i found out i might get around g prob via an app password). but i guess ol2021 had modified the script - now ol2007 doesn't work either. further the script does not seem editable on it. how to edit it, diane?
sorry I missed this - can you post the template (the one with the code changes above)?
 

john doe

Senior Member
Outlook version
Older version
Email Account
POP3
not sure what template means - the .oft is earlier in this thread, but opening it i just get the ol default contact form. the script that 2021 screwed up is:

Dim IsLoading

Dim imgPhoto



Function Item_Open()

Dim objPage

IsLoading = True

Set objPage = Item.GetInspector.ModifiedFormPages("General")

Set OlkContactPhoto = objPage.Controls("OlkContactPhoto")

Call LoadPhoto()

Set objPage = Nothing

IsLoading = False

End Function



Function Item_Close()

Set OlkContactPhoto = Nothing

End Function



Sub Item_PropertyChange(ByVal Name)

If Not IsLoading Then

Select Case Name

Case "User1"

Call LoadPhoto()

End Select

End If

End Sub



Sub cmdRefresh_Click()

Call LoadPhoto()

End Sub



Sub LoadPhoto()

If Item.User1 <> "" Then



strphoto = Item.User1.value

item.AddPicture strPhoto



End If

End Sub
 

john doe

Senior Member
Outlook version
Older version
Email Account
POP3
now i restored the script to what it used to be on ol2007. 2007 does not let you edit it, but 2016, also in my system, does.

but still not working - i'd changed the form when playing with this. where does ol keep this info? very strange that it did not work from backup either.
 
Similar threads
Thread starter Title Forum Replies Date
N "Perform a Custom Action" Outlook VBA and Custom Forms 0
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Update new custom field Outlook VBA and Custom Forms 5
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
S Custom Field Cannot Be Displayed In Views Outlook VBA and Custom Forms 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
K UDF with formula not showing on Calendar custom view. Outlook VBA and Custom Forms 0
S Create a clickable custom column field Outlook VBA and Custom Forms 0
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
S Outlook Custom Form Scripting only working when clicking on "Run this form" Outlook VBA and Custom Forms 2
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2
M Custom Calendar Print Suggestions? Using Outlook 0
K Custom Category Colors Using Outlook 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
E To convert imported data to custom fields in Task list Outlook VBA and Custom Forms 1
Randy Redekopp How To Merge Contact Info to Email Custom Form Template Using Outlook 2
D Problem with custom form including _DocSiteControl1 Outlook VBA and Custom Forms 0
C Custom Outlook Form - Populate Information from Radio Button / Check Box Using Outlook 0
H Custom Signature Not Displayed When Account Selected Outlook VBA and Custom Forms 10
E Custom formula for columns Using Outlook 3
W Message class changes of a custom form changes to the default form Using Outlook 2
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
S Custom Form, copy user field data to message body Outlook VBA and Custom Forms 12
Andrew Quirl Custom form to route requests based on input criteria Outlook VBA and Custom Forms 1
D Using a VBA Custom Form to Send Reoccurring Email Upon Task Completion Outlook VBA and Custom Forms 4
W Setting up a custom form Outlook VBA and Custom Forms 2
A Greyed out checkbox in custom form Outlook VBA and Custom Forms 4
Z Outlook Custom Form: Adding Dropdown(Project Code) at the end of subject Outlook VBA and Custom Forms 0
Z Adding dropdown list using custom form Outlook VBA and Custom Forms 7
G Entered data in custom field goes in card and does not stay in list view Outlook VBA and Custom Forms 1
witzker Correct Format of custom Yes/No Checkboxes Outlook VBA and Custom Forms 0

Similar threads

Top