Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. bypass outlook security message "A programm is trying to access... "

bypass outlook security message "A programm is trying to access... "

Scheduled Pinned Locked Moved C#
csharpcomsecurityhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    _T No name
    wrote on last edited by
    #1

    hi i have made an application which reads outlook events. while reading outlook events a warning popup comes with message "A program is trying to access your mail information...... " this is annoying for my users of application. Is there any way i can bypass this message i have useed Microsoft.Office.Interop.Outlook dll to read events. and code is written in c# .Net. plz help Thanks

    D 1 Reply Last reply
    0
    • _ _T No name

      hi i have made an application which reads outlook events. while reading outlook events a warning popup comes with message "A program is trying to access your mail information...... " this is annoying for my users of application. Is there any way i can bypass this message i have useed Microsoft.Office.Interop.Outlook dll to read events. and code is written in c# .Net. plz help Thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Your code cannot bypass this message. Outlook has to be told to trust the code. Look under Tools -> Macro -> Security.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      _ 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Your code cannot bypass this message. Outlook has to be told to trust the code. Look under Tools -> Macro -> Security.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        _ Offline
        _ Offline
        _T No name
        wrote on last edited by
        #3

        but how come google calendar sync does that. Do they have some collaboration or something.

        D 1 Reply Last reply
        0
        • _ _T No name

          but how come google calendar sync does that. Do they have some collaboration or something.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Because it's not using the Outlook object model. There is also a library ($$$) that solves the problem, but it is not free.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008
          But no longer in 2009...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups