Enable/Disable Macros when walking public folders in loop

  • Thread starter Thread starter Matt Williamson
  • Start date Start date
M

Matt Williamson

I'm extracting data from Outlook to put into another program. I wrote a
program in VB6 to do it because we use a custom form for public contact data
and it has over 600+ custom fields in it. On 2 contacts, I'm getting an
Enable/Disable macros dialog but I can't determine why? Where are all of the
possible places I can look? The form itself does have some code behind it
but this only happens on 2 contacts out of 4000. I also think these 2
contacts are ones that I've gone into and with "Design this form" and looked
at the All Fields data and closed without saving any changes. I can post my
code if that seems relevant.

Any help appreciated

Matt
 
The per-item enable-disable macros prompt suggests that you're using a very old version of Outlook and that those items have one-off forms with code behind them. The MessageClass property value will confirm whether it's a one0off.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
The MessageClass for those 2 is IPM.Contact whereas for all of the other's
it's IPM.Contact.Contact Manager which is the custom form in the Org Forms
Library. I'm not seeing where I can change it for just these individual
contacts though. Any insight?

TIA

Matt


The per-item enable-disable macros prompt suggests that you're using a very
old version of Outlook and that those items have one-off forms with code
behind them. The MessageClass property value will confirm whether it's a
one0off.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
The MessageClass for those 2 is IPM.Contact whereas for all of the other's
it's IPM.Contact.Contact Manager which is the custom form in the Org Forms
Library. I'm not seeing where I can change it for just these individual
contacts though. Any insight?

I used OutlookSpy to change them and the Messagebox doesn't pop up any
longer.
 
Back
Top