I'm having trouble using the microsoft-provided code, AdContac. I
"think" I installed it correctly, but when I try to use turn on the
rule, Outlook crashes everytime I send an email.
I'm running Outlook 2003, Application Version 11.0.8010.0.
Here are the directions from
http://www.kbalertz.com/Q198725/Sender.Incoming.Message.Contacts.aspx
with my notes below each step>>
1. Compile and build AdContact.dll by using Microsoft Visual C++.
>> didn't know what to do here... ignored step one, as Adcontac.dll was provided in download. (Probably my big mistake!)
2. Copy AdContac.dll to the desired target directory.
>>Done - added to windows\sytem32.
3. Open the AdContac.reg file in Notepad and change the path to reflect
the actual location of the AdContac.dll on your computer.
>>Done
4. Save the AdContac.reg file, and then exit Notepad.
>>Done
5. Double-click the AdContac.reg file to register the AdContac.dll for
use by Outlook as a custom action.
>>Done.
6. Switch to or start Outlook, and then start the Rules Wizard from the
Tools menu.
>>Done. Closed, then restarted Outlook, just to be sure...
7. Click New to add a new rule to Outlook.
>>Done
8. Click Check Messages when they arrive, and then click Next. Note:
You may need to click Start from a blank rule first before this option
is available.
>>Done - I actually selected check messages that I send...
9. Select the option that you want, and then provide the condition to
which you want the rule to respond.
>>Done - chose "when I send a message"
10. Click Next after you have provided the condition that will trap a
message.
>>Done - didn't select any conditions, ie rule would apply to all messages sent.
11. Click Perform a Custom Action.
>>Done
12. Click a custom action in the Description box, and then click
AddSenderToContacts in the drop-down list.
>>Done - AdContac shows up in the drop-down list perfectly
13. Click Change, and then select a Contacts folder from the list. The
name of the selected Contacts folder should be filled in the Action
Value box.
>> Done
I even exited and restarted Outlook at this time. However, once this
rule is activated, sending any message causes Outlook to crash. As
soon as I turn off the rule, by unchecking it, Outlook runs correctly.
What have I done incorrectly? I assume it's something in the 1st step
that I didn't do correctly, but I'm not sure what is meant by this.
Thanks in advance for your response!
Sue Mosher [MVP-Outlook] - 17 May 2006 14:03 GMT
You apparently didn't grasp what this tool does. It adds the ***sender*** address to contacts, based on the information in messages you receive. It is not appropriate for use in a rule for outgoing messages.
See http://www.slipstick.com/contacts/addauto.htm for other ways to save senders or recipients as new contacts automatically, depending on your version and configuration of Outlook.

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> I'm having trouble using the microsoft-provided code, AdContac. I
> "think" I installed it correctly, but when I try to use turn on the
[quoted text clipped - 50 lines]
>
> Thanks in advance for your response!
sel - 17 May 2006 21:35 GMT
Thanks for being so polite! I should have read more carefully. I've
now changed the rule to check for incoming mail and save the senders
address - works like a charm!