question

AllanReese-8627 avatar image
0 Votes"
AllanReese-8627 asked ChristyZhang-MSFT commented

Outlook custom form: Item_Open event not firing

Hi

I know this has been a known issue some years back and that secrity updates and registry entries solved it in the first place.

Now I ma facing the same problem again.

I have several custom forms working perfectly. I have now created a new custom form based on IPM.Appointment which I have done succesfully previously. I can build the form with variables but I can't make any of events fire on the form not the Item_open() nor CommandButton1_click(). The form opens perfectly and I can save data to custom fields.

The form is installed in the folder it is used in and has its own messageclass IPM.Appointment.<<MYNAME>>.

Debugging vbScruipt is pretty hard when no event will fire....

Anybody with a clue?

office-outlook-itprooffice-vba-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AllanReese-8627 avatar image
0 Votes"
AllanReese-8627 answered ChristyZhang-MSFT commented

Well, after looking into this problem a couple of times it turned out i forgot to register the MessageClass in this entry in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Outlook\Forms\TrustedFormScriptList

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AllanReese-8627 ,

I'm glad that your problem has been solved. In order to facilitate other users with similar problems to get reference, please remember to accept your reply as an answer. Warm thanks!

0 Votes 0 ·

Hi @AllanReese-8627 ,

I am writing to see how everything is going on with this thread. If your problem has been solved, would you mind marking the helpful post as an answer? Which would benefit others who also has similar issues in forum.

0 Votes 0 ·