Results 1 to 11 of 11
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    917
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Warning / Signature (Outlook 2003)

    We would like to avoid the annoying dialog warning that a program is trying to access email addresses. I've read the posts which I found which suggest digital signatures for VBA projects. I have an Outlook VBA macro that in turn runs (SHELL) an EXE.

    It appears that the EXE is what is triggering the warning dialog. Can I apply a digital signature to an EXE and have it recognized by Outlook? Or does Outlook recognized only COM Add-ins which are digitially signed?

    Thanks, Richard

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Re: Warning / Signature (Outlook 2003)

    Are you shelling to a standard operating system or office suite EXE? My best guess is that shelling to an EXE would only invoke the Object Model Guard if an address book or the MAPI service was being accessed (and maybe a couple of other components that don't come to mind). Can you tell us more about what the EXE does?
    -John ... I float in liquid gardens
    UTC -7DS

  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    917
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Warning / Signature (Outlook 2003)

    Thanks for your reply. My EXE does in fact access the Address Book. It builds a data file of the selected Contacts, activates Word, and runs a Word macro from which the user selects what document he wants to create. I'm sure that we could have the EXE watch for that dialog and Send Keys to dismiss it, but I'd prefer to achieve this result using proper security settings/digital signature if possible.

    Richard

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: Warning / Signature (Outlook 2003)

    See <post#=317048>post 317048</post#> for three possible solutions.

  5. #5
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    917
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Warning / Signature (Outlook 2003)

    Thanks very much. Outlook Redemption looks like a good solution. The first item suggested brings me back to my original question... is it ONLY COM-AddIns that the Exchange Security controls, or is there a way to sign an EXE that is run via an Outlook VBA macro?

    Thanks,
    Richard

  6. #6
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Warning / Signature (Outlook 2003)

    There is no way to sign an EXE that is run via an Outlook VBA macro. HTH
    Gre

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Warning / Signature (Outlook 2003)

    Third party developers who interact with Contacts, such as PDA sync products, have had to adjust their products for every major change to the Outlook security model. You might review Microsoft's advice for developers (first issued when Outlook 2000 got its "E-mail security update") to see whether it has some advice you can use for your other EXEs. The advice might be to use Redemption or another Extended MAPI library to simply bypass the problem, but I can't really remember at this point.

  8. #8
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    917
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Warning / Signature (Outlook 2003)

    Thanks. Redemption does look like it's the answer. It's been mentioned in a number of sources that I've encountered over the last 36 hours, and it does indeed appear to bypass the problem.

    Richard

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Re: Warning / Signature (Outlook 2003)

    Richard, I know that you've probably invested a lot of work in developing your .EXE, but if you are looking to get Contact addresses into Word without triggering the Outlook Object Model Guard, Word has the GetAddress method of accessing Contacts, and I believe it does NOT trigger the Outlook Guard warnings. There's a discussion and code in <!post=this VBA thread,324474>this VBA thread<!/post> (that went way over my head) that may be of interest to you.
    -John ... I float in liquid gardens
    UTC -7DS

  10. #10
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    917
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Warning / Signature (Outlook 2003)

    Thanks, John. It seems odd -- or maybe not, given the security threats in Outlook -- that all of this info can be accessed easily from Word without raising a red flag. The Get Address method doesn't provide the full functionality that I want: I prefer that the user can use the familiar Find feature in Outlook, switch easily among folders, add/edit an address if necessary, search for Categories, etc., etc.

    Richard

  11. #11
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Re: Warning / Signature (Outlook 2003)

    Richard, my conclusion is that it doesn't raise a flag from Word because of the limitations of Getaddress, as you noted, making it not easily or directly possible to build an e-mail virus in Word. FYI, Outlook and Exchange data are also easily accessible through Access, see Hans' <post#=456267>post 456267</post#>. Who knows what MS is thinking? <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>
    -John ... I float in liquid gardens
    UTC -7DS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •