Thanks Sue so much for your help. I deleted the all
versions of the forms from the Public Folder and cleared
the cache and now Item_Open runs everytime. Now I have
the opposite problem. The items previously selected in
the listbox are cleared when reopening the Contact Item.
Is there a way to save the selection?
Either bind the listbox to an Outlook keywords property or write code in
Item_Write to save the data to an Outlook property as a delimited list, plus
code in Item_Open to use the information from that property to set the
selections.

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> Thanks Sue so much for your help. I deleted the all
> versions of the forms from the Public Folder and cleared
> the cache and now Item_Open runs everytime. Now I have
> the opposite problem. The items previously selected in
> the listbox are cleared when reopening the Contact Item.
> Is there a way to save the selection?
kaykayIT - 18 Aug 2004 17:37 GMT
The listboxes are each bound to different keyword properties. I am trying to
use the information from the keywords to set the selections.
> Either bind the listbox to an Outlook keywords property or write code in
> Item_Write to save the data to an Outlook property as a delimited list, plus
[quoted text clipped - 7 lines]
> > the listbox are cleared when reopening the Contact Item.
> > Is there a way to save the selection?
Sue Mosher [MVP-Outlook] - 18 Aug 2004 18:14 GMT
If the listboxes are bound to keywords properties, they should automatically
show the selected items. Does it work if you take out the code you're using
to set the selections?

Signature
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> The listboxes are each bound to different keyword properties. I am trying
> to
[quoted text clipped - 5 lines]
>> code in Item_Open to use the information from that property to set the
>> selections.
>> > Thanks Sue so much for your help. I deleted the all
>> > versions of the forms from the Public Folder and cleared
>> > the cache and now Item_Open runs everytime. Now I have
>> > the opposite problem. The items previously selected in
>> > the listbox are cleared when reopening the Contact Item.
>> > Is there a way to save the selection?
kaykayIT - 18 Aug 2004 19:31 GMT
I've tried the easy way of binding the listboxes to a keywords property.
That does not work. Is there some comprehensive Guide to VBScripting. I am
feeling my way through the dark. I am very acquainted with VBA and somewhat
acquainted with VB but it seems the scripting is a different concept.
> Either bind the listbox to an Outlook keywords property or write code in
> Item_Write to save the data to an Outlook property as a delimited list, plus
[quoted text clipped - 7 lines]
> > the listbox are cleared when reopening the Contact Item.
> > Is there a way to save the selection?