• Address book permissions (Outlook XP / SP-1)

    Home » Forums » AskWoody support » Productivity software by function » MS Outlook and email programs » Address book permissions (Outlook XP / SP-1)

    Author
    Topic
    #373836

    I’m trying to create a rule so that whenever I get a weekly email from Scoot with my local cinema film times, it will export the message as text to a specific directory, which is the folder that my PocketPC sync’s with, so I’ll have an up-to-date listing whenever I sync the two devices.
    First I wanted to see how to export, so I’ve written a bit of VBA that takes the first item from my ActiveExplorer Selection collection, and does a SaveAs to olTXT format, but I get a warning dialog “A program is trying to access data from Outlook that may contain address book information … Allow Access Yes / No / Help“.
    Any suggestions how I can programtically click the “yes” option question

    Of course the next thing is to get the code to run as a rule, but when I looked in the Rules Wizard, the Run a Script option doesn’t display my SaveNoteAs function, nor does the Perform a Custom Action, so again any suggestions on how to run a function from a rule question

    Viewing 1 reply thread
    Author
    Replies
    • #602210

      I could well be wrong about some of this because I’m not totally up to speed on OLXP. There seem to be two issues here. 1) I’m pretty sure you can’t access functions or code directly from the rules. You have to use the custom action option. But this uses special add-ins, not the VB project file. 2) To get around the security prompt you have to be on Exchange and have the add-in set up using the admin form. Maybe someone else has better news…

    • #602510

      As an alternative to using Rules, you can create an event handler that is triggered by the Application_NewMail event. However, since I’ve never tried this, others will have to chime in on the specifics.

    Viewing 1 reply thread
    Reply To: Address book permissions (Outlook XP / SP-1)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: