ol2021 custom form not displaying pics

Status
Not open for further replies.
no jive...
Screenshot (408).png
 
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.
 
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?
 
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)?
 
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
 
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.
 
where does ol keep this info? how to back it up?

i have it ok on 4/17 back-up, but if i use it, i'll lose the latest emails. ol doesn't seem to adhere to system restore either, and as soon as i use the latest .PSTs i'm screwed...
 
Is the for published to the contacts folder? If so, you can export it in File > Options > advanced > custom forms.
 
i'm not sure where the form is published, but i did manage to save it as .fdm, attached.
 

Attachments

  • ilkkaContactView.zip
    19.4 KB · Views: 0
You have two choices - add a field to the image control or use the photo control.

If you keep your version where you add a path to the photo file field, and add that field name to the image control, click Refresh to see the image.

2022-05-27_17-27-44-0000.png



If you use the contact photo field, you add it using the Picture menu and it shows up in Outlook photo control. Honestly, unless you need to keep a record of the image path, I would use the picture command and the outlook photo control. I don't know of a way to use the picture (OlkContactPhoto1) as the field in the image control (replacing textbox10).

2022-05-27_17-27-47-0000.png
 
thanks, diane. yes, picture command would be the way to go if i did not have 25k old contacts to deal with.

but i am now sorted by importing the missing mails to a working machine. fyi - custom form resides at the root of the deliver-mails .pst. that's why i failed at first, thought the .psts contain only mails & contacts.

given ol is so brittle - is there an app that would back it up? accts & settings - i know how to deal with .psts.
 
thanks, diane. yes, picture command would be the way to go if i did not have 25k old contacts to deal with.

but i am now sorted by importing the missing mails to a working machine. fyi - custom form resides at the root of the deliver-mails .pst. that's why i failed at first, thought the .psts contain only mails & contacts.

given ol is so brittle - is there an app that would back it up? accts & settings - i know how to deal with .psts.
are the images working in any of the 25K? Do you have a link to an image in all/most and is it valid? Probably the best step is to use a macro to move the images - if the link to the photo is valid, it will be easy to move the images - using the image path field in this macro -

On the form not working and showing the plain outlook form - some controls are blocked, depending on how the form is opened.
 
now i have a machine where ol-custom form works, but in it the account selection is screwed.

if i moved to another version of ol i'd also have to deal /w the modified dates on the contacts. beyond my skills, and in any case several hours of computing.

and the custom form is NOT on the deliver mails .PST - tried with a backup. where is it? how to back it up - or transfer to another machine? whole system image/restoration takes hours...

is it on the .FDM like i asked on another thread? how to make ol use it?

On the form not working and showing the plain outlook form - some controls are blocked, depending on how the form is opened.
so how to open the custom one to see?
 
thank you, diane. i'm now sorted re: the form - but now ol-search is giving me trouble. see another thread...
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
S Outlook 2019 Custom outlook Add-in using Visual Studio Outlook VBA and Custom Forms 0
S Adding Custom Forms Outlook VBA and Custom Forms 4
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
M copy field value to custom field Outlook VBA and Custom Forms 0
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
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

Similar threads

Back
Top