Custom Contact Form - Problem on One PC

  • Thread starter Dave Nickason [SBS MVP]
  • Start date
D

Dave Nickason [SBS MVP]

We use a custom form for our office contacts public folder (Exchange 2K).
The form contains little code, only some validation stuff. We've been using
it for at least a couple of years on about 20 PCs, with Outlook 2000, 2002,
and 2003. I'm having a problem on one newly set up WinXP/Outlook XP
desktop, regardless of who logs in.

When entering data in the custom form, one drop-down list will not hold a
value. It returns to its default whether another value is selected with the
mouse or the arrow keys. Since the value in this field validates against
other fields, having the default value often prevents the form from closing.

And, when an existing contact is opened and edited, clicking 'save and
close' triggers the Outlook security warning. That's something we've never
seen in all the time we've used the form.

I have verified that Outlook and Windows are fully patched, cleared the
forms cache (several times), logged in as different users including admins,
and created new mail profiles. Nothing has helped, and the behavior is the
same no matter who uses the form or with what profile.

Any suggestions on where to go from here? TIA.
 
S

Sue Mosher [MVP-Outlook]

And, when an existing contact is opened and edited, clicking 'save and
close' triggers the Outlook security warning.

Outlook build number? What code in the Close and Write events? See

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
D

Dave Nickason [SBS MVP]

Thanks for your help. Build is 10.6515.6626 SP3. I'm not sure what code
you're looking for (I'm not a programmer) - I do know how to view the code
in the form but not sure exactly what you're looking for.
 
S

Sue Mosher [MVP-Outlook]

Do you have an Item_Close or Item_Write event handler? If so, what is the
code in that event hanlder?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

This statement in the Item_Write event handler will trigger a security
prompt in Outlook 2002 SP3:

If InStr(Item.Body, "?") > 0 Then

Your options for handling such prompts are listed at
http://www.outlookcode.com/d/sec.htm
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
D

Dave Nickason [SBS MVP]

Thank you very much for your help. I bought a copy of your book for the
person who programmed this form, so hopefully we'll avoid this type of thing
in the future.
 
S

Sue Mosher [MVP-Outlook]

Make sure the form person downloads the book's sample code from the 'get the
code' link at http://www.outlookcode.com/. The blocking of Body postdates
the book's release, but is covered on the Developer Learning Center portion
of the web site.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
D

Dave Nickason [SBS MVP]

Will do, thanks!

Sue Mosher said:
Make sure the form person downloads the book's sample code from the 'get
the
code' link at http://www.outlookcode.com/. The blocking of Body postdates
the book's release, but is covered on the Developer Learning Center
portion
of the web site.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



message
 

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